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.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.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.001211/0.001212, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.00132/0.00132, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.489/2.489, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 64.59 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3554, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002464/0.358, allocations: 0.7017 MB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3598, allocations: 1.263 MB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3599, allocations: 0 / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.36, allocations: 3.938 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.3601, allocations: 19.8 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.3611, allocations: 310.8 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3615, allocations: 275.6 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3616, allocations: 12.17 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3618, allocations: 99.86 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.362, allocations: 91.73 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.362, allocations: 24 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3622, allocations: 43.92 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.3622, allocations: 23.91 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3623, allocations: 79.81 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.3626, allocations: 223.3 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3626, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3626, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3627, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 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.0006747/0.3633, allocations: 496.3 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3634, allocations: 12.03 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.3635, allocations: 16.78 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3636, allocations: 176.3 kB / 0.9549 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3636, allocations: 12.38 kB / 0.9549 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.3637, allocations: 16.38 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3638, allocations: 58.17 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3639, allocations: 3.938 kB / 0.955 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3639, allocations: 4 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3639, allocations: 0 / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.3639, allocations: 19.98 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.3645, allocations: 428.4 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.3646, allocations: 34.52 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.3647, allocations: 24.94 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3647, allocations: 0 / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3649, allocations: 95.25 kB / 0.9556 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.3649, allocations: 0 / 0.9556 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003286/0.3652, allocations: 137.5 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3653, allocations: 59.41 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3654, allocations: 132.4 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3655, allocations: 37.7 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.3656, allocations: 100 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3656, allocations: 19.88 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3657, allocations: 65.67 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3658, allocations: 322.8 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.366, allocations: 91.95 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3662, allocations: 135.8 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3665, allocations: 234.8 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3665, allocations: 7.875 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005906/0.3671, allocations: 370.5 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.3672, allocations: 101.5 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3673, allocations: 4.188 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3673, allocations: 4 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/0.3673, allocations: 7.984 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3673, allocations: 11.88 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.3678, allocations: 75.75 kB / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.3679, allocations: 23.98 kB / 0.9574 GB, free: 1.254 MB / 0.7325 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.0001307/0.368, allocations: 129.8 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.368, allocations: 11.91 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.368, allocations: 8.359 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3681, allocations: 4 kB / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3681, allocations: 0 / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3681, allocations: 0 / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3683, allocations: 193.6 kB / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3683, allocations: 0 / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.3683, allocations: 7.922 kB / 0.9577 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3683, allocations: 8 kB / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3683, allocations: 0 / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3683, allocations: 0 / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3683, allocations: 80 / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3685, allocations: 144.9 kB / 0.9579 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3686, allocations: 84.95 kB / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3686, allocations: 8 kB / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.3686, allocations: 0 / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3687, allocations: 15.98 kB / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3687, allocations: 4 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.3688, allocations: 95.27 kB / 0.9581 GB, free: 468 kB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3688, allocations: 0 / 0.9581 GB, free: 468 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000272/0.3691, allocations: 47.98 kB / 0.9581 GB, free: 420 kB / 0.7325 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.000172/0.3692, allocations: 103.2 kB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.3697, allocations: 374.1 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3698, allocations: 0 / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.3698, allocations: 36.08 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3701, allocations: 28.05 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.3705, allocations: 198.9 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3708, allocations: 0.7002 MB / 0.9595 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3709, allocations: 12.41 kB / 0.9595 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3709, allocations: 11.44 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.3709, allocations: 0 / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.005536/0.3765, allocations: 2.622 MB / 0.9621 GB, free: 12.27 MB / 0.7481 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 -s cvode -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