Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.419/3.419, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.104e-05/4.426e-05, allocations: 9.906 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00275/0.002794, allocations: 0.6549 MB / 0.8781 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.005648, allocations: 1.21 MB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.005715, allocations: 0 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.005751, allocations: 7.938 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.005863, allocations: 12.81 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.006768, allocations: 209.3 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.007141, allocations: 177 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.007253, allocations: 7.984 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.007478, allocations: 95.86 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.00767, allocations: 55.84 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.007729, allocations: 17.19 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.007835, allocations: 20 kB / 0.8799 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.007866, allocations: 11.98 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.007985, allocations: 49.48 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.008547, allocations: 187.5 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008551, allocations: 4 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.874e-06/0.008553, allocations: 0 / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.008561, allocations: 2.469 kB / 0.8801 GB, free: 3.957 MB / 0.8386 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.0008812/0.009442, allocations: 459.5 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.009504, allocations: 16.02 kB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.009616, allocations: 12.94 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.009786, allocations: 116.5 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.009813, allocations: 4.375 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.009857, allocations: 8.375 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.01002, allocations: 56.3 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01004, allocations: 4.172 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.01005, allocations: 384 / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.01006, allocations: 384 / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.01013, allocations: 19.88 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.01089, allocations: 328.4 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.01103, allocations: 43.05 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.01108, allocations: 19.69 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.0111, allocations: 0 / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.01133, allocations: 96.98 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.01133, allocations: 0 / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004223/0.01176, allocations: 109.6 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.01183, allocations: 55.41 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.01207, allocations: 193.8 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.01212, allocations: 29.7 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.01226, allocations: 134.9 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01229, allocations: 19.84 kB / 0.8818 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.01247, allocations: 59.34 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003535/0.01283, allocations: 0.4923 MB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.01315, allocations: 135.4 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.01356, allocations: 184.7 kB / 0.8826 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.01392, allocations: 177.8 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01393, allocations: 0 / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008995/0.01483, allocations: 376.2 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.01492, allocations: 69.27 kB / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01493, allocations: 3.938 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.01495, allocations: 0 / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.01498, allocations: 7.938 kB / 0.8832 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.01499, allocations: 0 / 0.8832 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.01544, allocations: 43.91 kB / 0.8832 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.01549, allocations: 16.05 kB / 0.8833 GB, free: 404 kB / 0.8386 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 0.0001957/0.01568, allocations: 168.7 kB / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.01572, allocations: 15.94 kB / 0.8834 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01576, allocations: 8.438 kB / 0.8834 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.01576, allocations: 0 / 0.8834 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01577, allocations: 0 / 0.8834 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01577, allocations: 0 / 0.8834 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01597, allocations: 140.5 kB / 0.8836 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01597, allocations: 0 / 0.8836 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.01599, allocations: 4 kB / 0.8836 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01599, allocations: 0 / 0.8836 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.016, allocations: 7.938 kB / 0.8836 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.016, allocations: 0 / 0.8836 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.01601, allocations: 4 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.01631, allocations: 120.4 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01633, allocations: 11.89 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.01637, allocations: 11.92 kB / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/0.0164, allocations: 0 / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.01646, allocations: 8 kB / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.01647, allocations: 3.984 kB / 0.8837 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001284/0.0166, allocations: 135.1 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0166, allocations: 0 / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004042/0.017, allocations: 39.98 kB / 0.8839 GB, free: 15.66 MB / 0.8542 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.000243/0.01724, allocations: 99.23 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006918/0.01794, allocations: 333.8 kB / 0.8843 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01794, allocations: 0 / 0.8843 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.01804, allocations: 35.67 kB / 0.8844 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.01838, allocations: 16.78 kB / 0.8844 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.01889, allocations: 170.7 kB / 0.8845 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.01899, allocations: 71.28 kB / 0.8846 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.01904, allocations: 11.84 kB / 0.8846 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.01907, allocations: 12.5 kB / 0.8846 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01907, allocations: 0 / 0.8846 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.007826/0.0269, allocations: 2.059 MB / 0.8866 GB, free: 12.82 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.665297779953107]