Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.746/1.746, allocations: 387.2 MB / 394.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.000953, allocations: 188.2 kB / 487 MB, free: 7.934 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.114/1.114, allocations: 221.4 MB / 0.7819 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.000874, allocations: 96.28 kB / 0.9213 GB, free: 64.93 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.285e-06, allocations: 4 kB / 1.066 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 142.3 MB / 1.205 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.7188, allocations: 149.2 MB / 1.351 GB, free: 57.09 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.719, allocations: 68.7 kB / 1.351 GB, free: 57.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.01143/0.7304, allocations: 4.562 MB / 1.355 GB, free: 52.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.7305, allocations: 4 kB / 1.355 GB, free: 52.54 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006392/0.7311, allocations: 0.5808 MB / 1.356 GB, free: 51.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.7312, allocations: 13.78 kB / 1.356 GB, free: 51.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.7312, allocations: 31.7 kB / 1.356 GB, free: 51.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.7316, allocations: 278.6 kB / 1.356 GB, free: 51.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.7316, allocations: 12.61 kB / 1.356 GB, free: 51.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.7317, allocations: 16 kB / 1.356 GB, free: 51.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002416/0.7319, allocations: 156 kB / 1.357 GB, free: 51.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.7321, allocations: 193.2 kB / 1.357 GB, free: 51.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.7322, allocations: 0 / 1.357 GB, free: 51.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.7322, allocations: 10.34 kB / 1.357 GB, free: 51.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7322, allocations: 4 kB / 1.357 GB, free: 51.17 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.7332, allocations: 0.7448 MB / 1.357 GB, free: 50.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.7334, allocations: 170.9 kB / 1.358 GB, free: 50.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.7335, allocations: 101.2 kB / 1.358 GB, free: 50.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.7336, allocations: 4.188 kB / 1.358 GB, free: 50.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.7338, allocations: 185 kB / 1.358 GB, free: 49.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.7338, allocations: 0 / 1.358 GB, free: 49.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.0003814/0.7342, allocations: 279.6 kB / 1.358 GB, free: 49.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.7342, allocations: 59.39 kB / 1.358 GB, free: 49.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7343, allocations: 178.1 kB / 1.358 GB, free: 49.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.7344, allocations: 29.7 kB / 1.358 GB, free: 49.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.7344, allocations: 124.4 kB / 1.359 GB, free: 49.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.7344, allocations: 55.2 kB / 1.359 GB, free: 49.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.7345, allocations: 4 kB / 1.359 GB, free: 49.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.7345, allocations: 345.7 kB / 1.359 GB, free: 48.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.7347, allocations: 132 kB / 1.359 GB, free: 48.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.7349, allocations: 181.2 kB / 1.359 GB, free: 48.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.7353, allocations: 156.9 kB / 1.359 GB, free: 48.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7353, allocations: 4 kB / 1.359 GB, free: 48.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006606/0.736, allocations: 390.1 kB / 1.36 GB, free: 47.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.736, allocations: 4 kB / 1.36 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.736, allocations: 1.641 kB / 1.36 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.736, allocations: 4 kB / 1.36 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.7363, allocations: 68.02 kB / 1.36 GB, free: 47.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7363, allocations: 6.438 kB / 1.36 GB, free: 47.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.7368, allocations: 115.8 kB / 1.36 GB, free: 47.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.7368, allocations: 19.98 kB / 1.36 GB, free: 47.75 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 8.699e-05/0.7369, allocations: 138.5 kB / 1.36 GB, free: 47.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.737, allocations: 23.72 kB / 1.36 GB, free: 47.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.737, allocations: 22.64 kB / 1.36 GB, free: 47.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.737, allocations: 7.75 kB / 1.36 GB, free: 47.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.737, allocations: 0 / 1.36 GB, free: 47.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.737, allocations: 0 / 1.36 GB, free: 47.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.7375, allocations: 0.6026 MB / 1.361 GB, free: 46.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7375, allocations: 4 kB / 1.361 GB, free: 46.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.7377, allocations: 55.81 kB / 1.361 GB, free: 46.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7378, allocations: 0 / 1.361 GB, free: 46.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.7378, allocations: 7.984 kB / 1.361 GB, free: 46.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7378, allocations: 4 kB / 1.361 GB, free: 46.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7378, allocations: 0 / 1.361 GB, free: 46.84 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003194/0.7381, allocations: 367.8 kB / 1.361 GB, free: 46.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.7381, allocations: 104.8 kB / 1.361 GB, free: 46.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.7382, allocations: 4 kB / 1.361 GB, free: 46.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.7384, allocations: 33.34 kB / 1.361 GB, free: 46.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.7385, allocations: 23.95 kB / 1.361 GB, free: 46.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.7385, allocations: 19.92 kB / 1.361 GB, free: 46.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.749e-05/0.7386, allocations: 140.1 kB / 1.361 GB, free: 46.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002854/0.7389, allocations: 67.83 kB / 1.361 GB, free: 46.07 MB / 0.8731 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001255/0.739, allocations: 127.2 kB / 1.362 GB, free: 45.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.7395, allocations: 375.2 kB / 1.362 GB, free: 45.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7395, allocations: 0.7188 kB / 1.362 GB, free: 45.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.7396, allocations: 139.9 kB / 1.362 GB, free: 45.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.7399, allocations: 33.59 kB / 1.362 GB, free: 45.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.7405, allocations: 369.6 kB / 1.362 GB, free: 45.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.7408, allocations: 0.7826 MB / 1.363 GB, free: 44.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.7408, allocations: 0 / 1.363 GB, free: 44.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.005473/0.7462, allocations: 4.055 MB / 1.367 GB, free: 40.27 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches