Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [: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 9.1.1-maint.9.1.x/package.mo): time 1.765/1.765, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001063/0.001063, allocations: 181.2 kB / 487 MB, free: 5.375 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.142/1.142, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009276/0.0009275, allocations: 92.67 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.662e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1933, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5429/0.7362, allocations: 149.2 MB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.7364, allocations: 71.08 kB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01816/0.7546, allocations: 6.548 MB / 1.357 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.7546, allocations: 9.125 kB / 1.357 GB, free: 15.53 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004874/0.7551, allocations: 0.5847 MB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7552, allocations: 10.12 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.7553, allocations: 44.05 kB / 1.358 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.7558, allocations: 309.5 kB / 1.358 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7558, allocations: 16.27 kB / 1.358 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.7559, allocations: 28.17 kB / 1.358 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002387/0.7561, allocations: 134.5 kB / 1.358 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.7564, allocations: 208.2 kB / 1.359 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7564, allocations: 1.219 kB / 1.359 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.7565, allocations: 1.922 kB / 1.359 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.7565, allocations: 9.031 kB / 1.359 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.7576, allocations: 0.7784 MB / 1.359 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.7578, allocations: 195.2 kB / 1.36 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.7582, allocations: 278.8 kB / 1.36 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.7582, allocations: 3.703 kB / 1.36 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.7585, allocations: 264.3 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 1.794e-06/0.7585, allocations: 0 / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0006155/0.7591, allocations: 376.3 kB / 1.361 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.7592, allocations: 143.5 kB / 1.361 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.7594, allocations: 203.9 kB / 1.361 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.7594, allocations: 34.22 kB / 1.361 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.7595, allocations: 128 kB / 1.361 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.7596, allocations: 71.69 kB / 1.361 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.7596, allocations: 4 kB / 1.361 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.7597, allocations: 338.4 kB / 1.361 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.76, allocations: 211.5 kB / 1.362 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.7603, allocations: 305.1 kB / 1.362 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.7609, allocations: 270.5 kB / 1.362 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7609, allocations: 0 / 1.362 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001116/0.7621, allocations: 0.6281 MB / 1.363 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.7621, allocations: 4.562 kB / 1.363 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.7621, allocations: 4 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7621, allocations: 4.797 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.7622, allocations: 23.23 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7622, allocations: 4.516 kB / 1.363 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.7629, allocations: 165.2 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.763, allocations: 78.47 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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.0001103/0.7631, allocations: 141.2 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.7632, allocations: 28.14 kB / 1.363 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.7636, allocations: 412.2 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7636, allocations: 4.797 kB / 1.364 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7636, allocations: 0 / 1.364 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7637, allocations: 1.875 kB / 1.364 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.7643, allocations: 0.7303 MB / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7643, allocations: 0.5156 kB / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.7644, allocations: 22.84 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7644, allocations: 0.5625 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.7644, allocations: 5.219 kB / 1.364 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7644, allocations: 0.5625 kB / 1.364 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7644, allocations: 4 kB / 1.364 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003813/0.7648, allocations: 489.6 kB / 1.365 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.7648, allocations: 102.9 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.7649, allocations: 1.547 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.765, allocations: 10.02 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7651, allocations: 21.88 kB / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.7651, allocations: 17.47 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.96e-05/0.7652, allocations: 153.5 kB / 1.365 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003606/0.7655, allocations: 81.64 kB / 1.365 GB, free: 10.63 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001441/0.7657, allocations: 129.8 kB / 1.365 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.7663, allocations: 0.5551 MB / 1.366 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7663, allocations: 4.5 kB / 1.366 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.7665, allocations: 186.2 kB / 1.366 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.7668, allocations: 45.89 kB / 1.366 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.7675, allocations: 469.7 kB / 1.367 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.7677, allocations: 0.8128 MB / 1.367 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.7677, allocations: 0 / 1.367 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of Templates: time 0.006911/0.7746, allocations: 5.048 MB / 1.372 GB, free: 3.836 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches