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 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.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.001373/0.001373, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 191.5 kB / 16.53 MB, free: 6.664 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.791/1.791, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.267/3.267, allocations: 482.6 MB / 0.7549 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00289/0.002891, allocations: 73.72 kB / 0.9241 GB, free: 29.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4267, allocations: 162.3 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002344/0.4291, allocations: 0.8345 MB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4312, allocations: 1.482 MB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.4313, allocations: 0 / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.4315, allocations: 19.73 kB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.4315, allocations: 31.72 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.4329, allocations: 0.5067 MB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000584/0.4335, allocations: 0.4954 MB / 1.086 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.4336, allocations: 45.47 kB / 1.086 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.4338, allocations: 187.6 kB / 1.086 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.434, allocations: 143.6 kB / 1.086 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-05/0.4341, allocations: 40 kB / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.4343, allocations: 55.98 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.4343, allocations: 43.89 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.4346, allocations: 155.5 kB / 1.087 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.435, allocations: 411.2 kB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4351, allocations: 4 kB / 1.087 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4351, allocations: 0 / 1.087 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.4351, allocations: 4 kB / 1.087 GB, free: 8.473 MB / 0.8419 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.0009035/0.436, allocations: 0.6359 MB / 1.088 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.436, allocations: 12.03 kB / 1.088 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.4362, allocations: 32.75 kB / 1.088 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.4366, allocations: 263.9 kB / 1.088 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4366, allocations: 20.38 kB / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.4367, allocations: 28.38 kB / 1.088 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.437, allocations: 149.4 kB / 1.088 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.437, allocations: 8.125 kB / 1.088 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.4371, allocations: 7.938 kB / 1.088 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4371, allocations: 4 kB / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.4373, allocations: 83.8 kB / 1.088 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4385, allocations: 0.711 MB / 1.089 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.4387, allocations: 167.6 kB / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.4388, allocations: 44.84 kB / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.4388, allocations: 0 / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.4391, allocations: 159.2 kB / 1.089 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.4392, allocations: 0 / 1.089 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0005293/0.4397, allocations: 246.6 kB / 1.089 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.4398, allocations: 55.41 kB / 1.089 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.44, allocations: 182.2 kB / 1.09 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.4401, allocations: 37.7 kB / 1.09 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4402, allocations: 132.5 kB / 1.09 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.4403, allocations: 39.47 kB / 1.09 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.4405, allocations: 117.7 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4407, allocations: 330.8 kB / 1.09 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.441, allocations: 151.9 kB / 1.09 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.4414, allocations: 246.1 kB / 1.091 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.442, allocations: 403.9 kB / 1.091 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.442, allocations: 3.938 kB / 1.091 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.443, allocations: 0.6241 MB / 1.092 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.4432, allocations: 160.5 kB / 1.092 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4432, allocations: 7.938 kB / 1.092 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4432, allocations: 4 kB / 1.092 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.4433, allocations: 16 kB / 1.092 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.4433, allocations: 7.938 kB / 1.092 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.4441, allocations: 144 kB / 1.092 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.4442, allocations: 27.97 kB / 1.092 GB, free: 2.824 MB / 0.8419 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.0002032/0.4444, allocations: 169.5 kB / 1.092 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4444, allocations: 11.81 kB / 1.092 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.4445, allocations: 25.8 kB / 1.092 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4445, allocations: 4 kB / 1.092 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4445, allocations: 0 / 1.092 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4445, allocations: 0 / 1.092 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.4451, allocations: 0.5032 MB / 1.093 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4452, allocations: 4 kB / 1.093 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.4452, allocations: 11.92 kB / 1.093 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4452, allocations: 0 / 1.093 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4452, allocations: 8 kB / 1.093 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4452, allocations: 0 / 1.093 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4452, allocations: 0 / 1.093 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.4456, allocations: 281.6 kB / 1.093 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.4457, allocations: 92.86 kB / 1.093 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4457, allocations: 15.98 kB / 1.093 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.4458, allocations: 4 kB / 1.093 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4458, allocations: 15.98 kB / 1.093 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4458, allocations: 11.98 kB / 1.093 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001049/0.446, allocations: 128.2 kB / 1.093 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.446, allocations: 3.938 kB / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003643/0.4463, allocations: 83.91 kB / 1.093 GB, free: 1.371 MB / 0.8419 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.0002189/0.4466, allocations: 115.2 kB / 1.093 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008619/0.4474, allocations: 0.6255 MB / 1.094 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4474, allocations: 0 / 1.094 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.4476, allocations: 79.91 kB / 1.094 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.448, allocations: 59.78 kB / 1.094 GB, free: 440 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.4487, allocations: 330.2 kB / 1.094 GB, free: 84 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4491, allocations: 0.7242 MB / 1.095 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.769e-05/0.4492, allocations: 25.53 kB / 1.095 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.4493, allocations: 19.44 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4493, allocations: 0 / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.009613/0.4589, allocations: 4.564 MB / 1.1 GB, free: 10.78 MB / 0.8575 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=400 -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