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.001814/0.001814, 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.002063/0.002063, allocations: 193.8 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.621/1.621, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.16/3.16, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 63.25 kB / 0.9121 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4266, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002683/0.4294, allocations: 0.827 MB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.4314, allocations: 1.484 MB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.4315, allocations: 3.938 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.4317, allocations: 15.81 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.4318, allocations: 31.72 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.433, allocations: 0.5105 MB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.4335, allocations: 0.4954 MB / 1.072 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.4337, allocations: 41.47 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.4339, allocations: 183.6 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.4341, allocations: 143.6 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.4342, allocations: 40 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.4344, allocations: 55.98 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.4345, allocations: 43.89 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.4347, allocations: 159.5 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.4352, allocations: 411.2 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4352, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.145e-06/0.4352, allocations: 4 kB / 1.073 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4352, allocations: 3.938 kB / 1.073 GB, free: 5.973 MB / 0.8262 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.0008993/0.4361, allocations: 0.6398 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4362, allocations: 8.031 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4363, allocations: 36.73 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.4366, allocations: 260.5 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.4367, allocations: 16.38 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.4368, allocations: 28.38 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.437, allocations: 153.4 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4371, allocations: 192 / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.4371, allocations: 15.92 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4371, allocations: 4 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.4372, allocations: 81.92 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.4382, allocations: 0.7109 MB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4384, allocations: 171.6 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.4385, allocations: 40.84 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4385, allocations: 4 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.4388, allocations: 156.7 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.684e-06/0.4388, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004459/0.4392, allocations: 251.8 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4393, allocations: 55.41 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4394, allocations: 178.8 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.4395, allocations: 49.69 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4396, allocations: 124.4 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.4397, allocations: 43.45 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.4399, allocations: 117.6 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.44, allocations: 326.8 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.4403, allocations: 163.9 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.4407, allocations: 242 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.4411, allocations: 413.2 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4411, allocations: 0 / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009155/0.4421, allocations: 0.6195 MB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.4422, allocations: 160.5 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4422, allocations: 7.938 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4422, allocations: 4 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.4423, allocations: 7.938 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4423, allocations: 8.328 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.4431, allocations: 147.7 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.4432, allocations: 27.98 kB / 1.078 GB, free: 332 kB / 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.0001847/0.4434, allocations: 161.7 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.4434, allocations: 19.8 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.4435, allocations: 21.81 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4435, allocations: 0 / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.4435, allocations: 3.984 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.4435, allocations: 4 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.4441, allocations: 0.5099 MB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4441, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.4441, allocations: 3.938 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4441, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4442, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4442, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4442, allocations: 3.984 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.4445, allocations: 276.9 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.4446, allocations: 96.86 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4446, allocations: 7.984 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.4447, allocations: 8 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.4447, allocations: 19.97 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4448, allocations: 4 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.696e-05/0.4449, allocations: 120.2 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4449, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003691/0.4452, allocations: 80 kB / 1.079 GB, free: 14.88 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.0002322/0.4455, allocations: 119.7 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008067/0.4463, allocations: 0.627 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4463, allocations: 3.938 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4464, allocations: 77.28 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4469, allocations: 61.92 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.4475, allocations: 324.3 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4478, allocations: 0.7281 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.331e-05/0.4479, allocations: 25.53 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.4479, allocations: 15.44 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4479, allocations: 0 / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.008301/0.4563, allocations: 4.572 MB / 1.085 GB, free: 8.281 MB / 0.8419 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