Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008497/0.008497, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003518, allocations: 8.188 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7772, allocations: 142.4 MB / 0.9551 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.000938/0.7782, allocations: 385.8 kB / 0.9554 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.7798, allocations: 1.205 MB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.7798, allocations: 1.219 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.7799, allocations: 0 / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.7799, allocations: 9.484 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.7805, allocations: 202.1 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.7807, allocations: 148.6 kB / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.7808, allocations: 13.44 kB / 0.957 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.7808, allocations: 59.11 kB / 0.957 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.7809, allocations: 52.58 kB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.781, allocations: 8.094 kB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.7811, allocations: 27.2 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.7811, allocations: 3.562 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.7812, allocations: 79.42 kB / 0.9572 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.7814, allocations: 133.6 kB / 0.9573 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7814, allocations: 5.188 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7814, allocations: 0 / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7814, allocations: 0 / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003983/0.7818, allocations: 412 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7818, allocations: 8.656 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.7819, allocations: 16.8 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.782, allocations: 174.6 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.782, allocations: 8.875 kB / 0.9579 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.7821, allocations: 9.938 kB / 0.9579 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.7822, allocations: 59.42 kB / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7822, allocations: 192 / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7822, allocations: 5 kB / 0.958 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7822, allocations: 0 / 0.958 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.7823, allocations: 12.59 kB / 0.958 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.7827, allocations: 346.4 kB / 0.9583 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.7828, allocations: 45.03 kB / 0.9584 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.7828, allocations: 21.41 kB / 0.9584 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.7828, allocations: 1.531 kB / 0.9584 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.783, allocations: 85.02 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.783, allocations: 0 / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002363/0.7832, allocations: 110.8 kB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.7833, allocations: 52.66 kB / 0.9586 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.7834, allocations: 119 kB / 0.9587 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.7834, allocations: 30.17 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.7834, allocations: 96.78 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.7835, allocations: 14.75 kB / 0.9589 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.7835, allocations: 21.56 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.7836, allocations: 324.2 kB / 0.9592 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.7837, allocations: 59.06 kB / 0.9592 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7838, allocations: 98.72 kB / 0.9593 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.784, allocations: 156 kB / 0.9595 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.784, allocations: 0 / 0.9595 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003647/0.7844, allocations: 262.9 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.7844, allocations: 69.02 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7844, allocations: 1.375 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7845, allocations: 1.375 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.482e-05/0.7845, allocations: 6.734 kB / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7845, allocations: 1.375 kB / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.7849, allocations: 78.75 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.785, allocations: 17.61 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.785, allocations: 126 kB / 0.96 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.7851, allocations: 10.66 kB / 0.96 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.7851, allocations: 5.75 kB / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7851, allocations: 1.375 kB / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7851, allocations: 0 / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7851, allocations: 3.984 kB / 0.96 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.7852, allocations: 180.6 kB / 0.9602 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7852, allocations: 1.375 kB / 0.9602 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.7852, allocations: 1.375 kB / 0.9602 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7852, allocations: 3.938 kB / 0.9602 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.7853, allocations: 5.359 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7853, allocations: 0 / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7853, allocations: 5.375 kB / 0.9602 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.7854, allocations: 107.6 kB / 0.9603 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.7854, allocations: 91.7 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7854, allocations: 0 / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.7855, allocations: 1.375 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.7855, allocations: 14.67 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.7855, allocations: 2.75 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.7856, allocations: 95.52 kB / 0.9605 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7856, allocations: 0 / 0.9605 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002303/0.7858, allocations: 26.12 kB / 0.9606 GB, free: 2.941 MB / 0.7169 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.7859, allocations: 103.9 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.7862, allocations: 244.9 kB / 0.9609 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7863, allocations: 0 / 0.9609 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.7863, allocations: 32.28 kB / 0.9609 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.7865, allocations: 20.48 kB / 0.9609 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.7868, allocations: 165.8 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.787, allocations: 0.6874 MB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.787, allocations: 12.53 kB / 0.9618 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.787, allocations: 11.69 kB / 0.9618 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.787, allocations: 0 / 0.9618 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.004257/0.7913, allocations: 1.753 MB / 0.9635 GB, free: 0.8711 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches