Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.002135/0.002135, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.003356/0.003356, allocations: 170.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.543/1.543, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.798e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001751/0.001779, allocations: 0.6484 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.003753, allocations: 1.214 MB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.003805, allocations: 4 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.003841, allocations: 3.938 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.003922, allocations: 19.84 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.00461, allocations: 221 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.004863, allocations: 163.7 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.004971, allocations: 15.97 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005127, allocations: 91.88 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005256, allocations: 47.91 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.005297, allocations: 20 kB / 0.9534 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.005377, allocations: 27.98 kB / 0.9534 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.0054, allocations: 11.92 kB / 0.9534 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.005487, allocations: 47.95 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.005769, allocations: 187.5 kB / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005772, allocations: 0 / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.02e-07/0.005772, allocations: 0 / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.005783, allocations: 0 / 0.9536 GB, free: 8.859 MB / 0.8575 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.0005934/0.006376, allocations: 361.5 kB / 0.954 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006414, allocations: 8.031 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.006478, allocations: 12.89 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.006605, allocations: 117.7 kB / 0.9541 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006621, allocations: 4.375 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.006666, allocations: 20.36 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.006809, allocations: 42.25 kB / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006819, allocations: 192 / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006829, allocations: 384 / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006834, allocations: 384 / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.006882, allocations: 23.86 kB / 0.9542 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.007386, allocations: 276.4 kB / 0.9545 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.007474, allocations: 30.56 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.007511, allocations: 20.94 kB / 0.9545 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.007518, allocations: 0 / 0.9545 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.007709, allocations: 83.31 kB / 0.9546 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.00771, allocations: 3.938 kB / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002684/0.007979, allocations: 105.8 kB / 0.9547 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.008034, allocations: 51.41 kB / 0.9547 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.008146, allocations: 117.8 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.00819, allocations: 33.7 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.008274, allocations: 100 kB / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.008287, allocations: 3.953 kB / 0.955 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.008391, allocations: 49.69 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.008556, allocations: 322.8 kB / 0.9553 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.008752, allocations: 123.4 kB / 0.9555 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.008967, allocations: 155.6 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.009179, allocations: 155.6 kB / 0.9557 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.009183, allocations: 3.984 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000529/0.009712, allocations: 332.7 kB / 0.9561 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.009777, allocations: 71.33 kB / 0.9561 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009783, allocations: 80 / 0.9561 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.0098, allocations: 4 kB / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.01e-05/0.00983, allocations: 0 / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.00984, allocations: 7.984 kB / 0.9561 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.01021, allocations: 55.83 kB / 0.9562 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.01025, allocations: 16.05 kB / 0.9562 GB, free: 5.91 MB / 0.8575 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,or1.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.000122/0.01037, allocations: 125.8 kB / 0.9563 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.01039, allocations: 11.92 kB / 0.9563 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.01041, allocations: 8.438 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.01041, allocations: 0 / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01042, allocations: 4 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01042, allocations: 64 / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.01055, allocations: 121.2 kB / 0.9565 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01055, allocations: 0 / 0.9565 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.01056, allocations: 4 kB / 0.9565 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01057, allocations: 7.938 kB / 0.9565 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01058, allocations: 7.984 kB / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01058, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01058, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.01074, allocations: 109 kB / 0.9566 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01076, allocations: 3.953 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01078, allocations: 7.938 kB / 0.9566 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.0108, allocations: 4 kB / 0.9566 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01084, allocations: 3.984 kB / 0.9566 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01085, allocations: 4 kB / 0.9566 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.01091, allocations: 91.27 kB / 0.9567 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01091, allocations: 7.938 kB / 0.9567 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002502/0.01116, allocations: 35.94 kB / 0.9568 GB, free: 5.305 MB / 0.8575 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,or1.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.0001682/0.01133, allocations: 99.23 kB / 0.9568 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.01174, allocations: 282.1 kB / 0.9571 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01174, allocations: 0 / 0.9571 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.01179, allocations: 27.92 kB / 0.9571 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01203, allocations: 22.48 kB / 0.9572 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.01239, allocations: 153.4 kB / 0.9573 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.01245, allocations: 75.2 kB / 0.9574 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.01248, allocations: 7.984 kB / 0.9574 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.01251, allocations: 8.5 kB / 0.9574 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.01251, allocations: 4 kB / 0.9574 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.006151/0.01866, allocations: 2.041 MB / 0.9594 GB, free: 2.547 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.425444319844246]