Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [: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.681/1.681, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0008844/0.0008844, allocations: 185.3 kB / 490.8 MB, free: 1.891 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.044/1.044, allocations: 221.3 MB / 0.7863 GB, free: 13.61 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.0008028/0.0008029, allocations: 102.9 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.962e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.6051, allocations: 150.3 MB / 1.358 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.6053, allocations: 77.23 kB / 1.358 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01962/0.6249, allocations: 7.761 MB / 1.366 GB, free: 16.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.625, allocations: 9.312 kB / 1.366 GB, free: 16.7 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007714/0.6257, allocations: 0.7038 MB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6258, allocations: 8.719 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.6259, allocations: 48 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.6264, allocations: 372.9 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.6264, allocations: 10.98 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/0.6265, allocations: 31.09 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/0.6268, allocations: 207 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.6272, allocations: 266.5 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6272, allocations: 0 / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.6272, allocations: 2.672 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.6272, allocations: 6.031 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.6287, allocations: 1.015 MB / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.629, allocations: 347.8 kB / 1.369 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.6294, allocations: 353.1 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.6294, allocations: 5.688 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.6297, allocations: 307.6 kB / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.694e-06/0.6298, allocations: 0 / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0005869/0.6303, allocations: 462.8 kB / 1.37 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.6304, allocations: 145.9 kB / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.6306, allocations: 241.7 kB / 1.37 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.6307, allocations: 38.55 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.6308, allocations: 136.4 kB / 1.371 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.6308, allocations: 117.9 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.6309, allocations: 6.438 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.631, allocations: 349.8 kB / 1.371 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.6314, allocations: 263 kB / 1.371 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.6318, allocations: 347.5 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.6325, allocations: 320.6 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6325, allocations: 4 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001309/0.6338, allocations: 0.716 MB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6338, allocations: 9.828 kB / 1.373 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6339, allocations: 6.094 kB / 1.373 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6339, allocations: 5.188 kB / 1.373 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.6342, allocations: 91.7 kB / 1.373 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6342, allocations: 8.016 kB / 1.373 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.635, allocations: 205.9 kB / 1.373 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6351, allocations: 78.39 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.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 (48): * Single equations (assignments): 44 * 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.0001289/0.6352, allocations: 130.8 kB / 1.373 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.6353, allocations: 36.53 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.6359, allocations: 498.1 kB / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6359, allocations: 9.391 kB / 1.374 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6359, allocations: 0.9688 kB / 1.374 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6359, allocations: 2.344 kB / 1.374 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.6368, allocations: 0.8925 MB / 1.374 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6368, allocations: 0.7031 kB / 1.374 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.6371, allocations: 95.28 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6372, allocations: 1.812 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.6372, allocations: 8.203 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6372, allocations: 1.875 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6372, allocations: 4 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005418/0.6377, allocations: 0.5581 MB / 1.375 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.6378, allocations: 118.5 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.6379, allocations: 2.406 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.6381, allocations: 36.41 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.6382, allocations: 31.28 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.6382, allocations: 16.08 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001617/0.6384, allocations: 191.5 kB / 1.376 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003955/0.6388, allocations: 96.95 kB / 1.376 GB, free: 29.41 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: 18 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,pul.booPul.y,pul1.booPul.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * 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.0001344/0.6389, allocations: 120.1 kB / 1.376 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.6397, allocations: 0.6539 MB / 1.376 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6397, allocations: 8.656 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.64, allocations: 237.7 kB / 1.377 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.6404, allocations: 62.97 kB / 1.377 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6415, allocations: 0.6348 MB / 1.377 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.6419, allocations: 0.859 MB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/0.6419, allocations: 4 kB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.009819/0.6517, allocations: 5.916 MB / 1.384 GB, free: 26.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches