Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_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_latest_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.009359/0.009359, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001871/0.001872, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.88 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4499, allocations: 159.9 MB / 1.226 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001909/0.4519, allocations: 0.655 MB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4535, allocations: 1.186 MB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.4536, allocations: 0 / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.4536, allocations: 3.938 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.4537, allocations: 11.88 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.4544, allocations: 219.5 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.4547, allocations: 187.7 kB / 1.228 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.4548, allocations: 12 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.4549, allocations: 67.88 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.455, allocations: 55.86 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.4551, allocations: 16 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.4552, allocations: 39.91 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.4552, allocations: 11.98 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.4553, allocations: 51.84 kB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.4555, allocations: 155.5 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4556, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4556, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4556, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 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.0005522/0.4561, allocations: 434.7 kB / 1.229 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4562, allocations: 8.031 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.4562, allocations: 16.88 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4564, allocations: 172.3 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4564, allocations: 8.375 kB / 1.229 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4564, allocations: 8.375 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4566, allocations: 54.11 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4566, allocations: 192 / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4566, allocations: 7.938 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4566, allocations: 0 / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.4566, allocations: 12 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.4572, allocations: 352.8 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.4573, allocations: 42.44 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.4573, allocations: 12.86 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.4573, allocations: 0 / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.4575, allocations: 83.44 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4575, allocations: 4 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002556/0.4577, allocations: 109.5 kB / 1.23 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4578, allocations: 55.41 kB / 1.23 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.4579, allocations: 117.8 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4579, allocations: 29.7 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.458, allocations: 96.08 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.458, allocations: 15.89 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4581, allocations: 49.69 kB / 1.23 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4583, allocations: 322.8 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4584, allocations: 59.97 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.4586, allocations: 92.27 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.4588, allocations: 164 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4588, allocations: 3.938 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004024/0.4592, allocations: 260.8 kB / 1.231 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.4593, allocations: 67.39 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4593, allocations: 0 / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4593, allocations: 4 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.4593, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4594, allocations: 4 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.4597, allocations: 63.95 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.4598, allocations: 11.98 kB / 1.231 GB, free: 3.488 MB / 0.9825 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 0.0001235/0.4599, allocations: 121.8 kB / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.4599, allocations: 11.89 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.4599, allocations: 12.36 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4599, allocations: 0 / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.46, allocations: 8 kB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.46, allocations: 3.984 kB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.4601, allocations: 169.6 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4601, allocations: 8.062 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.4602, allocations: 3.984 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4602, allocations: 0 / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4602, allocations: 4 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4602, allocations: 4 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4602, allocations: 0 / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.4603, allocations: 113 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.4604, allocations: 85.11 kB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4604, allocations: 0 / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.4604, allocations: 0 / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4605, allocations: 11.92 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4605, allocations: 4 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.4606, allocations: 91.27 kB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4606, allocations: 0 / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002251/0.4608, allocations: 28 kB / 1.232 GB, free: 2.723 MB / 0.9825 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.0002066/0.461, allocations: 119.4 kB / 1.232 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.4614, allocations: 246.6 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4614, allocations: 0 / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.4615, allocations: 31.92 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4617, allocations: 15.92 kB / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.4621, allocations: 166.7 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.4625, allocations: 0.6906 MB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.4625, allocations: 4 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4626, allocations: 11.44 kB / 1.233 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.4626, allocations: 0 / 1.233 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of Templates: time 0.005406/0.468, allocations: 1.826 MB / 1.235 GB, free: 15.56 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches