Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01097/0.01097, allocations: 107.2 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001202/0.001202, allocations: 181.7 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.094/2.094, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.258/2.258, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 12 kB / 0.587 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6537, allocations: 98.73 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002181/0.656, allocations: 1.068 MB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.6566, allocations: 196.9 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.6567, allocations: 1.406 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.6567, allocations: 1.547 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.6569, allocations: 18.77 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.657, allocations: 14.41 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.6572, allocations: 32.77 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.6573, allocations: 11.16 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.6574, allocations: 17.05 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.6575, allocations: 19.97 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.6575, allocations: 1.469 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.6575, allocations: 2.344 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.6576, allocations: 15.25 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.6576, allocations: 38.17 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.6578, allocations: 31.97 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6578, allocations: 0 / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6578, allocations: 0 / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6578, allocations: 0 / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007406/0.6586, allocations: 372.9 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.6586, allocations: 9.156 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.6587, allocations: 36.61 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.6587, allocations: 7.219 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6589, allocations: 172.7 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6589, allocations: 6.562 kB / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.659, allocations: 2.438 kB / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.6591, allocations: 49.7 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6592, allocations: 1.078 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.6592, allocations: 9.438 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.6592, allocations: 3.938 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.6594, allocations: 18.48 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.6599, allocations: 286.2 kB / 0.6858 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.6601, allocations: 44.62 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.6602, allocations: 5.375 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.6604, allocations: 71.48 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.6604, allocations: 0 / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.6608, allocations: 77.95 kB / 0.686 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6609, allocations: 65.94 kB / 0.6861 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.661, allocations: 118 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.661, allocations: 31.42 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.6611, allocations: 86.62 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.6611, allocations: 11.81 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.6612, allocations: 0 / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.6613, allocations: 319 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.6613, allocations: 17.11 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.6615, allocations: 35.2 kB / 0.6866 GB, free: 14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.6615, allocations: 13.17 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6615, allocations: 4 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002401/0.6618, allocations: 78.48 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6618, allocations: 6.203 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6619, allocations: 80 / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6619, allocations: 1.219 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.662, allocations: 9.922 kB / 0.6868 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.662, allocations: 9.469 kB / 0.6868 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.6622, allocations: 22.44 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.6623, allocations: 7.312 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6624, allocations: 117.5 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.6624, allocations: 6.719 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.6625, allocations: 10.69 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6625, allocations: 0.5156 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6625, allocations: 1.125 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6625, allocations: 4.656 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.6627, allocations: 175.1 kB / 0.6871 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6627, allocations: 4.703 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.6628, allocations: 4.969 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6628, allocations: 2.328 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.6628, allocations: 4.75 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6628, allocations: 5.188 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6628, allocations: 0 / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.6631, allocations: 100.2 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.6632, allocations: 83.17 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.6632, allocations: 5.734 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.6634, allocations: 14.89 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.6635, allocations: 11.88 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.6635, allocations: 2.969 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.6636, allocations: 93.02 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/0.6636, allocations: 0 / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004701/0.6641, allocations: 14.44 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/0.6646, allocations: 0.6446 MB / 0.6881 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6648, allocations: 41.72 kB / 0.6881 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6649, allocations: 5.031 kB / 0.6881 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.665, allocations: 25.2 kB / 0.6881 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.6653, allocations: 15 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.6666, allocations: 0.7789 MB / 0.6889 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.6668, allocations: 0.6876 MB / 0.6896 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.6669, allocations: 5.719 kB / 0.6896 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.6669, allocations: 14.94 kB / 0.6896 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.667, allocations: 1.469 kB / 0.6896 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.7043, allocations: 1.592 MB / 0.6911 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7045, allocations: 184.7 kB / 0.6913 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.057, allocations: 0 / 0.6913 GB, free: 10.78 MB / 0.5261 GB