Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001049/0.001048, allocations: 184.6 kB / 487.4 MB, free: 5.047 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.645/1.645, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009518, allocations: 99.64 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.846e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.361, allocations: 148.9 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.362, allocations: 68.7 kB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02017/1.382, allocations: 6.785 MB / 1.358 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.382, allocations: 0 / 1.358 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.369e-05/1.382, allocations: 3.875 kB / 1.358 GB, free: 33.71 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.0005597/1.382, allocations: 0.5562 MB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.382, allocations: 7.688 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/1.383, allocations: 38.25 kB / 1.359 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/1.383, allocations: 261.1 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.383, allocations: 5.156 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/1.383, allocations: 25.41 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/1.383, allocations: 77.98 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/1.383, allocations: 133.8 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.383, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.383, allocations: 1.219 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.383, allocations: 3.875 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/1.384, allocations: 0.6665 MB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/1.384, allocations: 171.9 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/1.384, allocations: 35.81 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/1.384, allocations: 3.375 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/1.385, allocations: 141.3 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/1.385, allocations: 4 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000317/1.385, allocations: 178.1 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/1.385, allocations: 58.66 kB / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.385, allocations: 166.4 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/1.385, allocations: 33.17 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/1.385, allocations: 136 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.385, allocations: 39.56 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/1.385, allocations: 10.94 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.386, allocations: 331.6 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/1.386, allocations: 129.2 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.386, allocations: 215.3 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/1.387, allocations: 179.6 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.387, allocations: 4 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/1.388, allocations: 475.6 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/1.388, allocations: 164 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.388, allocations: 4.188 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.388, allocations: 7.812 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/1.388, allocations: 12.94 kB / 1.362 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.388, allocations: 5.641 kB / 1.362 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/1.389, allocations: 185.8 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/1.389, allocations: 34.75 kB / 1.362 GB, free: 31.33 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.0001462/1.389, allocations: 130.7 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/1.389, allocations: 22.47 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/1.389, allocations: 16.5 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.389, allocations: 0 / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.389, allocations: 0 / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.389, allocations: 7.156 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/1.389, allocations: 458.8 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.389, allocations: 4 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/1.389, allocations: 3.812 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.389, allocations: 0 / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.389, allocations: 10.83 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.389, allocations: 0 / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.389, allocations: 0 / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.39, allocations: 262.1 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/1.39, allocations: 88.8 kB / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/1.39, allocations: 17.59 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/1.39, allocations: 64 / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/1.39, allocations: 25.41 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/1.39, allocations: 14.81 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.979e-05/1.39, allocations: 109.2 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.39, allocations: 0 / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003393/1.39, allocations: 76.59 kB / 1.364 GB, free: 30.58 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.0002324/1.391, allocations: 128.7 kB / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006169/1.391, allocations: 0.5792 MB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.391, allocations: 0 / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.391, allocations: 72.81 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/1.392, allocations: 41.81 kB / 1.364 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/1.392, allocations: 206.3 kB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/1.393, allocations: 0.7296 MB / 1.365 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.032e-05/1.393, allocations: 31.33 kB / 1.365 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/1.393, allocations: 15.16 kB / 1.365 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.393, allocations: 3.875 kB / 1.365 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of Templates: time 0.006848/1.4, allocations: 3.814 MB / 1.369 GB, free: 29.03 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches