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.001745/0.001745, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002228/0.002228, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.401/2.401, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7659, allocations: 140.4 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.003265/0.7692, allocations: 0.7666 MB / 0.9497 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.7719, allocations: 1.294 MB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.7721, allocations: 4 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.7721, allocations: 5.297 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.7723, allocations: 13.17 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.7735, allocations: 282.1 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.7739, allocations: 227.8 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.7741, allocations: 15.05 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.7744, allocations: 90.55 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.7746, allocations: 71.89 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.7747, allocations: 12.5 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.7749, allocations: 27.2 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.775, allocations: 16.95 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.7751, allocations: 72.3 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.7755, allocations: 214.4 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7755, allocations: 0 / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7755, allocations: 0 / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7755, allocations: 1.188 kB / 0.952 GB, free: 6.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008129/0.7763, allocations: 496.7 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.7764, allocations: 9.531 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.7765, allocations: 11.66 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7767, allocations: 181.7 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.7767, allocations: 14.92 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.7768, allocations: 22 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.777, allocations: 59.47 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.777, allocations: 3.938 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.777, allocations: 1.375 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.777, allocations: 0 / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.7771, allocations: 22.67 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.7778, allocations: 418.5 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.7779, allocations: 31.98 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.7779, allocations: 20.84 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.7779, allocations: 1.156 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.7781, allocations: 101.4 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.7782, allocations: 0 / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000395/0.7786, allocations: 140.6 kB / 0.9534 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7786, allocations: 57.91 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.7788, allocations: 138.7 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.7788, allocations: 35.83 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.7789, allocations: 102.6 kB / 0.9537 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7789, allocations: 15.5 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.7791, allocations: 67.2 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.7792, allocations: 324.7 kB / 0.9541 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7794, allocations: 89.14 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.7797, allocations: 135 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.78, allocations: 235.8 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.78, allocations: 1.375 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007325/0.7808, allocations: 370.3 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.7808, allocations: 97.38 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7809, allocations: 2.781 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.7809, allocations: 10.45 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.7809, allocations: 10.38 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.781, allocations: 2.688 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.7816, allocations: 79 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.7816, allocations: 25.25 kB / 0.9551 GB, free: 3.992 MB / 0.7169 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.0001511/0.7818, allocations: 130.3 kB / 0.9553 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.7818, allocations: 7.438 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.7819, allocations: 15.09 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7819, allocations: 1.406 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7819, allocations: 0 / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7819, allocations: 3.984 kB / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.782, allocations: 193.3 kB / 0.9555 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.782, allocations: 5.5 kB / 0.9555 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.7821, allocations: 9 kB / 0.9555 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7821, allocations: 1.156 kB / 0.9555 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7821, allocations: 6.266 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7821, allocations: 3.938 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7821, allocations: 1.094 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.7823, allocations: 134.2 kB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.7824, allocations: 83.3 kB / 0.9557 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.7824, allocations: 9.141 kB / 0.9557 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.7824, allocations: 5.031 kB / 0.9557 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.7825, allocations: 8.453 kB / 0.9557 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7825, allocations: 8.625 kB / 0.9557 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.7826, allocations: 94.64 kB / 0.9558 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7826, allocations: 0 / 0.9558 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/0.7829, allocations: 47.25 kB / 0.9559 GB, free: 3.297 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: 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.0001911/0.7831, allocations: 103.8 kB / 0.956 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.7836, allocations: 374.9 kB / 0.9563 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7836, allocations: 0 / 0.9563 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.7837, allocations: 41.61 kB / 0.9564 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.784, allocations: 22.05 kB / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.7844, allocations: 215.3 kB / 0.9566 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.7846, allocations: 0.6914 MB / 0.9573 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.7846, allocations: 8.922 kB / 0.9573 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.7847, allocations: 12.16 kB / 0.9573 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7847, allocations: 4 kB / 0.9573 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.007237/0.7919, allocations: 2.495 MB / 0.9597 GB, free: 0.707 MB / 0.7169 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/jenkins/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