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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.724/1.724, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008968/0.0008968, allocations: 185.2 kB / 490.8 MB, free: 1.926 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.066/1.066, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008091/0.0008091, allocations: 91.36 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.084e-06/7.094e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.6159, allocations: 149.6 MB / 1.358 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.6161, allocations: 67.05 kB / 1.358 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01731/0.6334, allocations: 6.534 MB / 1.364 GB, free: 16.85 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6334, allocations: 8.219 kB / 1.364 GB, free: 16.85 MB / 0.823 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.0004337/0.6338, allocations: 0.5532 MB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.6339, allocations: 8.125 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.634, allocations: 34.33 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.6343, allocations: 270.1 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6343, allocations: 5.375 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.6344, allocations: 25.64 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.6345, allocations: 75.23 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6347, allocations: 140 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6347, allocations: 0 / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.6347, allocations: 1.438 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.6347, allocations: 6.594 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.6355, allocations: 0.6834 MB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6356, allocations: 158 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.6357, allocations: 41.67 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.6357, allocations: 0 / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.6358, allocations: 120.4 kB / 1.366 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.6358, allocations: 1.406 kB / 1.366 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0002677/0.6361, allocations: 155.4 kB / 1.366 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.6361, allocations: 56.28 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6363, allocations: 165 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.6363, allocations: 38.42 kB / 1.367 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.6364, allocations: 121.4 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.6364, allocations: 39.23 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.6365, allocations: 8.156 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.6366, allocations: 330.4 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.6368, allocations: 134.9 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.6371, allocations: 219.7 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.6377, allocations: 185.7 kB / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6377, allocations: 1.547 kB / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001046/0.6388, allocations: 475.3 kB / 1.368 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.6388, allocations: 5.344 kB / 1.368 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6388, allocations: 9.25 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6388, allocations: 3.188 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/0.6388, allocations: 11.77 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6389, allocations: 4.172 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.6396, allocations: 202.5 kB / 1.368 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.6397, allocations: 32.27 kB / 1.368 GB, free: 30.63 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.0001081/0.6398, allocations: 130.8 kB / 1.368 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.6398, allocations: 19.59 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.6399, allocations: 15.36 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6399, allocations: 9.906 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6399, allocations: 5.25 kB / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6399, allocations: 0 / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.6402, allocations: 441 kB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6403, allocations: 3.938 kB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.6403, allocations: 4.578 kB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6403, allocations: 4.938 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6403, allocations: 8.875 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6403, allocations: 0 / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6403, allocations: 4.969 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001938/0.6405, allocations: 243 kB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.6405, allocations: 90.25 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.6406, allocations: 4.438 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.6407, allocations: 6.328 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.6407, allocations: 18.91 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.6407, allocations: 7.906 kB / 1.369 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.553e-05/0.6408, allocations: 118.5 kB / 1.369 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003501/0.6411, allocations: 73.17 kB / 1.369 GB, free: 29.88 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.000128/0.6413, allocations: 117.3 kB / 1.37 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.6417, allocations: 409.7 kB / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6418, allocations: 0.6875 kB / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.6418, allocations: 70 kB / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.6421, allocations: 38.81 kB / 1.37 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.6425, allocations: 212.9 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.6428, allocations: 0.7547 MB / 1.371 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6428, allocations: 0 / 1.371 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.006273/0.6491, allocations: 3.906 MB / 1.375 GB, free: 28.5 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