Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, 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.00178/0.00178, allocations: 196 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.55 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002351/0.3415, allocations: 0.8734 MB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.344, allocations: 1.549 MB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.3441, allocations: 15.88 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3442, allocations: 7.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.3443, allocations: 27.77 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3455, allocations: 494 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.346, allocations: 419.1 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3461, allocations: 45.47 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3463, allocations: 167.7 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3465, allocations: 135.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.3466, allocations: 24 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3467, allocations: 35.98 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3467, allocations: 39.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.3469, allocations: 151.5 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.3474, allocations: 383.2 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3474, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3474, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3474, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008242/0.3482, allocations: 0.6477 MB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3483, allocations: 12.03 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3484, allocations: 28.75 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3487, allocations: 244.6 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.3487, allocations: 32.3 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.3488, allocations: 32.38 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3491, allocations: 149.2 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3491, allocations: 192 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3491, allocations: 7.938 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.3492, allocations: 4 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3493, allocations: 83.94 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.3502, allocations: 0.707 MB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3504, allocations: 171.6 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.3505, allocations: 48.84 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3505, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.3508, allocations: 159.3 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.3508, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004659/0.3513, allocations: 243.7 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3514, allocations: 59.41 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3515, allocations: 186.2 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.3516, allocations: 37.7 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3517, allocations: 128.5 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3517, allocations: 43.53 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3519, allocations: 121.6 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3521, allocations: 330.8 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.3524, allocations: 155.9 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3528, allocations: 239.4 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.3533, allocations: 418 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3533, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009767/0.3543, allocations: 0.607 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3544, allocations: 164.5 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3544, allocations: 7.938 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3545, allocations: 4.344 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/0.3545, allocations: 15.94 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3545, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.3554, allocations: 143.6 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.3554, allocations: 35.97 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001874/0.3556, allocations: 157.7 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3557, allocations: 11.81 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.3557, allocations: 25.8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3557, allocations: 4 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3557, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3557, allocations: 4 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.3563, allocations: 0.5099 MB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3563, allocations: 0 / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.3564, allocations: 12.05 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3564, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3564, allocations: 8 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3564, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3564, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3567, allocations: 292.7 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3568, allocations: 92.86 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3568, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3569, allocations: 7.984 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.3569, allocations: 15.98 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.357, allocations: 15.92 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.3571, allocations: 116.2 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3571, allocations: 7.938 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003694/0.3574, allocations: 76 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000214/0.3577, allocations: 119.3 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.3585, allocations: 0.6155 MB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3585, allocations: 0 / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3586, allocations: 72.59 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.3591, allocations: 55.89 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3597, allocations: 354.1 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3601, allocations: 0.7323 MB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3601, allocations: 17.55 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.3602, allocations: 27.42 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3602, allocations: 0 / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.008195/0.3684, allocations: 4.334 MB / 1.069 GB, free: 7.055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches