Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001999/0.001999, allocations: 187 kB / 17.34 MB, free: 5.719 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 140.4 MB / 1.089 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.003569/1.079, allocations: 0.7111 MB / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002995/1.082, allocations: 1.261 MB / 1.091 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/1.082, allocations: 1.219 kB / 1.091 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.279e-05/1.082, allocations: 12.67 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/1.082, allocations: 20.73 kB / 1.091 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/1.084, allocations: 309 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007069/1.084, allocations: 271.5 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/1.085, allocations: 13.75 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/1.085, allocations: 104.4 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/1.085, allocations: 100.4 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/1.085, allocations: 23.16 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/1.086, allocations: 31.67 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/1.086, allocations: 15.25 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/1.086, allocations: 87.92 kB / 1.092 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000619/1.087, allocations: 222.5 kB / 1.092 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.087, allocations: 1.375 kB / 1.092 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/1.087, allocations: 0 / 1.092 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.087, allocations: 0 / 1.092 GB, free: 3.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00106/1.088, allocations: 494.6 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.088, allocations: 9.844 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/1.088, allocations: 16.12 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/1.088, allocations: 177.6 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/1.088, allocations: 11.97 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/1.088, allocations: 13.52 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.089, allocations: 56.31 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/1.089, allocations: 4.594 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/1.089, allocations: 1.844 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.089, allocations: 0.8125 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/1.089, allocations: 26.41 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/1.09, allocations: 412.3 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/1.09, allocations: 37.17 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/1.09, allocations: 20.38 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/1.09, allocations: 0 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/1.09, allocations: 113.5 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/1.09, allocations: 0 / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000541/1.091, allocations: 136.5 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.091, allocations: 54.3 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.091, allocations: 135.5 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/1.091, allocations: 31.27 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.091, allocations: 102.2 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/1.091, allocations: 20.25 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/1.092, allocations: 71.31 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/1.092, allocations: 324.5 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/1.092, allocations: 87.12 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/1.093, allocations: 135 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/1.093, allocations: 231.6 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.093, allocations: 4.75 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001159/1.094, allocations: 387.3 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.164e-05/1.094, allocations: 98 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.095, allocations: 2.156 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.095, allocations: 2.766 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/1.095, allocations: 8.328 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.095, allocations: 3.203 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/1.095, allocations: 86.89 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.096, allocations: 17.11 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001849/1.096, allocations: 136 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.096, allocations: 8.484 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/1.096, allocations: 10.36 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.096, allocations: 1.688 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.096, allocations: 1.25 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.096, allocations: 4.797 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/1.096, allocations: 191.1 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.096, allocations: 1.266 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/1.096, allocations: 2.891 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.096, allocations: 0.8125 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/1.096, allocations: 6.375 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.096, allocations: 1.203 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.096, allocations: 80 / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/1.097, allocations: 141.5 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/1.097, allocations: 87.97 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/1.097, allocations: 2.828 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/1.097, allocations: 5.469 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/1.097, allocations: 7.969 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.097, allocations: 4.484 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.953e-05/1.097, allocations: 98.92 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.097, allocations: 0 / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004743/1.097, allocations: 43.64 kB / 1.096 GB, free: 0.6562 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002113/1.098, allocations: 111.5 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007527/1.098, allocations: 370.4 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.099, allocations: 1.219 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.099, allocations: 43.8 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/1.099, allocations: 31.86 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/1.1, allocations: 219.8 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/1.1, allocations: 0.6937 MB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/1.1, allocations: 13.16 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.1, allocations: 0 / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.008495/1.109, allocations: 1.883 MB / 1.099 GB, free: 15.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches