Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007036/0.007036, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001361/0.00136, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6599, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001945/0.6619, allocations: 0.7266 MB / 0.9503 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.6632, allocations: 1.204 MB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.6632, allocations: 0 / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.6633, allocations: 3.938 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.6634, allocations: 5.312 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.6639, allocations: 202.8 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.664, allocations: 153.2 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.6641, allocations: 4.062 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.6642, allocations: 60.7 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.6643, allocations: 56.73 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.6643, allocations: 8.406 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.6644, allocations: 23.98 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.6644, allocations: 3.375 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.6645, allocations: 57.81 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.6647, allocations: 104.2 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6647, allocations: 0 / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6647, allocations: 0 / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.6647, allocations: 1.562 kB / 0.9521 GB, free: 7.223 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.0004368/0.6651, allocations: 433.2 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6652, allocations: 13.91 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.6652, allocations: 12.52 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.452e-05/0.6653, allocations: 174.7 kB / 0.9527 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.6653, allocations: 9.625 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.6654, allocations: 9.281 kB / 0.9528 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.6655, allocations: 55.02 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6655, allocations: 192 / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6655, allocations: 4.938 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6655, allocations: 0 / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.6656, allocations: 12.09 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.666, allocations: 350.6 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.666, allocations: 40.88 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.6661, allocations: 18.08 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.6661, allocations: 1.188 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.6662, allocations: 88.86 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.6663, allocations: 0 / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002249/0.6665, allocations: 102.8 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.6665, allocations: 57.75 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.6666, allocations: 121.8 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.6666, allocations: 30.3 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.6667, allocations: 92.94 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.6667, allocations: 10.06 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.6668, allocations: 56.97 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.6668, allocations: 320 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.667, allocations: 59.47 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.6671, allocations: 88.05 kB / 0.9542 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.6673, allocations: 171.6 kB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6673, allocations: 0 / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003765/0.6677, allocations: 258.1 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.6677, allocations: 69.36 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6677, allocations: 1.219 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6677, allocations: 6 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.909e-05/0.6678, allocations: 6.344 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6678, allocations: 1.219 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.6681, allocations: 60.42 kB / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.6682, allocations: 13 kB / 0.9548 GB, free: 4.734 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,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 7.775e-05/0.6683, allocations: 126.7 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.6683, allocations: 6.469 kB / 0.9549 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.6683, allocations: 13.59 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6683, allocations: 1.156 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6683, allocations: 3.938 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6683, allocations: 1.344 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.6684, allocations: 181 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6684, allocations: 0 / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-06/0.6684, allocations: 5.719 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6684, allocations: 0 / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.6685, allocations: 1.375 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6685, allocations: 1.344 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6685, allocations: 4 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.6686, allocations: 107.3 kB / 0.9552 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.6686, allocations: 83.2 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6686, allocations: 0.875 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.6687, allocations: 4.891 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6687, allocations: 3.531 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.6687, allocations: 3.094 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.6688, allocations: 98.98 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6688, allocations: 0 / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002344/0.669, allocations: 30.88 kB / 0.9554 GB, free: 4.082 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,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.0001308/0.6691, allocations: 107.1 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.6694, allocations: 247.5 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6695, allocations: 1.031 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.6695, allocations: 25.39 kB / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.6697, allocations: 18.45 kB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.6701, allocations: 208 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.6702, allocations: 0.6837 MB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.6702, allocations: 15.28 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6702, allocations: 1.156 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of Templates: time 0.002664/0.6729, allocations: 1.373 MB / 0.958 GB, free: 2.152 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches