Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") [: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 2.006/2.006, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001138/0.001138, allocations: 176.5 kB / 487 MB, free: 5.316 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.265/1.265, allocations: 221.3 MB / 0.7819 GB, free: 1.297 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.0008899/0.0008899, allocations: 106.7 kB / 0.9213 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.185e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6199/0.8513, allocations: 148.8 MB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.8515, allocations: 87.39 kB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004629/0.8562, allocations: 1.377 MB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8562, allocations: 1.094 kB / 1.352 GB, free: 15.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006757/0.8569, allocations: 490.6 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.8569, allocations: 8.188 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.857, allocations: 14.78 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.8572, allocations: 195.5 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8572, allocations: 6.906 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.8573, allocations: 9.375 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/0.8575, allocations: 96.34 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8577, allocations: 123.2 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.8577, allocations: 0 / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.8577, allocations: 1.969 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8577, allocations: 1.266 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.8586, allocations: 424 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.8588, allocations: 110.9 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.8589, allocations: 97.62 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.859, allocations: 0.7812 kB / 1.354 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.859, allocations: 35.12 kB / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.859, allocations: 0 / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0003206/0.8593, allocations: 139 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.8594, allocations: 81.58 kB / 1.354 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8595, allocations: 126.3 kB / 1.354 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.8595, allocations: 27.78 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.8595, allocations: 101 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.8596, allocations: 20.86 kB / 1.354 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.8596, allocations: 1.906 kB / 1.354 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.8597, allocations: 324 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.8598, allocations: 65.86 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.8599, allocations: 69.41 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.86, allocations: 28.08 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.86, allocations: 0 / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002457/0.8602, allocations: 138 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8602, allocations: 10.03 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8603, allocations: 0 / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8603, allocations: 1.062 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.8606, allocations: 60.27 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8606, allocations: 0.9688 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.8609, allocations: 63.05 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.8609, allocations: 2.719 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 9.496e-05/0.861, allocations: 141.5 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.8611, allocations: 10.86 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.8611, allocations: 10.83 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8611, allocations: 9.578 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8611, allocations: 1 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8611, allocations: 0.5156 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.8613, allocations: 188.3 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8613, allocations: 0 / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.8616, allocations: 54.39 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8616, allocations: 8.531 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.8616, allocations: 2.156 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8616, allocations: 5.328 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8616, allocations: 0.6875 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002688/0.8619, allocations: 239.2 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.8619, allocations: 83.59 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.862, allocations: 7.734 kB / 1.355 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.8623, allocations: 63.52 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.8625, allocations: 70.8 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.8625, allocations: 2.219 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.897e-05/0.8626, allocations: 106.8 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002345/0.8628, allocations: 26.75 kB / 1.356 GB, free: 13.45 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001182/0.8629, allocations: 110.3 kB / 1.356 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.8632, allocations: 198.4 kB / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8632, allocations: 0 / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.8634, allocations: 138.2 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.8637, allocations: 14.31 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.8642, allocations: 293.9 kB / 1.356 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.8645, allocations: 0.7159 MB / 1.357 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.8645, allocations: 0 / 1.357 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.005305/0.8698, allocations: 2.24 MB / 1.359 GB, free: 12.35 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches