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 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.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.001069/0.00107, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01025/0.01025, allocations: 171.6 kB / 16.26 MB, free: 6.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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.16/3.16, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 16.69 kB / 0.9028 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4339, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001005/0.4349, allocations: 389.6 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.437, allocations: 1.213 MB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.437, allocations: 0 / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.4371, allocations: 3.938 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.4372, allocations: 7.922 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.4379, allocations: 201.5 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.4381, allocations: 159.6 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4382, allocations: 11.98 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4384, allocations: 55.89 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.4385, allocations: 43.88 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.4385, allocations: 8 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.4386, allocations: 23.98 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.4387, allocations: 3.984 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4388, allocations: 81.47 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.439, allocations: 147.6 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.439, allocations: 0 / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.439, allocations: 3.938 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4391, allocations: 0 / 1.061 GB, free: 3.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005899/0.4397, allocations: 411 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.4397, allocations: 8.031 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.4398, allocations: 8.938 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.44, allocations: 176.3 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.44, allocations: 8.375 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.44, allocations: 12.38 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4402, allocations: 42.25 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4402, allocations: 192 / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4402, allocations: 7.938 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4402, allocations: 4 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.4403, allocations: 19.92 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.4409, allocations: 344.8 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.441, allocations: 42.61 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.4411, allocations: 16.84 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.4411, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.4412, allocations: 79.22 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4413, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002649/0.4415, allocations: 109.6 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4416, allocations: 55.41 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.4417, allocations: 129.7 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4418, allocations: 29.7 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.4418, allocations: 88.14 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4419, allocations: 15.8 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.4419, allocations: 21.72 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4421, allocations: 326.8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4422, allocations: 55.97 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4424, allocations: 96.25 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.4426, allocations: 151.6 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4426, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004688/0.4431, allocations: 268.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.4432, allocations: 68.95 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4432, allocations: 320 / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.4432, allocations: 8.406 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.821e-05/0.4432, allocations: 3.938 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4433, allocations: 4 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.4437, allocations: 82.84 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.4437, allocations: 11.98 kB / 1.064 GB, free: 188 kB / 0.8106 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.0001246/0.4439, allocations: 143.2 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.4439, allocations: 7.906 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.4439, allocations: 4.375 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4439, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4439, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4439, allocations: 4 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4441, allocations: 181.6 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4441, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.4441, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4441, allocations: 3.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4442, allocations: 4 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4442, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4442, allocations: 8.062 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.4443, allocations: 109 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.4444, allocations: 81.11 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4444, allocations: 3.984 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.4444, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4445, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4445, allocations: 15.98 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.4446, allocations: 87.28 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4446, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002365/0.4448, allocations: 28 kB / 1.064 GB, free: 15.41 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: 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.0002175/0.445, allocations: 111.2 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.4454, allocations: 250.6 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4454, allocations: 256 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.4454, allocations: 31.98 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4457, allocations: 8 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.4461, allocations: 175.2 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.4463, allocations: 0.6888 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.4464, allocations: 7.984 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.4464, allocations: 11.72 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4464, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.004617/0.451, allocations: 1.744 MB / 1.067 GB, free: 12.33 MB / 0.8262 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