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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 183.8 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.0008499, allocations: 87.78 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.109e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2686, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8838/1.153, allocations: 149.7 MB / 1.359 GB, free: 17.65 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/1.153, allocations: 68.55 kB / 1.359 GB, free: 17.65 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01836/1.171, allocations: 6.781 MB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.171, allocations: 4 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.75e-05/1.171, allocations: 7.781 kB / 1.365 GB, free: 32.98 MB / 0.8386 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.000668/1.172, allocations: 0.5562 MB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.172, allocations: 7.719 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/1.172, allocations: 30.81 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/1.172, allocations: 255.5 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.173, allocations: 6.422 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/1.173, allocations: 23 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/1.173, allocations: 73.69 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/1.173, allocations: 149.2 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.173, allocations: 0 / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.173, allocations: 2.953 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.173, allocations: 3.844 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/1.174, allocations: 0.6684 MB / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.174, allocations: 160.1 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/1.174, allocations: 39.48 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/1.174, allocations: 0 / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/1.174, allocations: 156.5 kB / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.644e-06/1.174, allocations: 0 / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000292/1.174, allocations: 175.3 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/1.175, allocations: 55.31 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.175, allocations: 159.7 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/1.175, allocations: 40.64 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/1.175, allocations: 126.8 kB / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/1.175, allocations: 36.7 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/1.175, allocations: 11.59 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/1.175, allocations: 329.4 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.175, allocations: 134.5 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/1.175, allocations: 219 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/1.176, allocations: 181.2 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.176, allocations: 0 / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009952/1.177, allocations: 482 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/1.177, allocations: 160.7 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.177, allocations: 3.625 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.177, allocations: 3.875 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.601e-05/1.177, allocations: 17.52 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.177, allocations: 4.062 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/1.178, allocations: 184.2 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/1.178, allocations: 33.06 kB / 1.37 GB, free: 30.62 MB / 0.8386 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.178, allocations: 134.5 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/1.178, allocations: 15.62 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/1.178, allocations: 18.98 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.178, allocations: 3.844 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.178, allocations: 4 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.178, allocations: 0 / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/1.179, allocations: 472.6 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.179, allocations: 3.938 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/1.179, allocations: 6.938 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.179, allocations: 2.203 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.179, allocations: 3.938 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.179, allocations: 0 / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.179, allocations: 0 / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/1.179, allocations: 273.5 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/1.179, allocations: 92.72 kB / 1.371 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/1.179, allocations: 7.016 kB / 1.371 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/1.179, allocations: 0 / 1.371 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/1.179, allocations: 23.28 kB / 1.371 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.179, allocations: 7.656 kB / 1.371 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.379e-05/1.179, allocations: 115.2 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.179, allocations: 4 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003636/1.18, allocations: 76.06 kB / 1.371 GB, free: 29.85 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/1.18, allocations: 121 kB / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005228/1.18, allocations: 0.5755 MB / 1.371 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.18, allocations: 0 / 1.371 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/1.18, allocations: 70.53 kB / 1.371 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/1.181, allocations: 39.47 kB / 1.372 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/1.181, allocations: 213.4 kB / 1.372 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/1.181, allocations: 0.7361 MB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.198e-05/1.182, allocations: 26.69 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/1.182, allocations: 17.69 kB / 1.372 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.182, allocations: 3.938 kB / 1.372 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.006332/1.188, allocations: 3.817 MB / 1.376 GB, free: 28.31 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches