Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.087/2.087, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001106/0.001106, allocations: 184.5 kB / 490.8 MB, free: 1.883 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.249/1.249, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0009126/0.0009126, allocations: 86.75 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.053e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8997, allocations: 149.6 MB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.9, allocations: 81.98 kB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005018/0.905, allocations: 1.382 MB / 1.359 GB, free: 17.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.905, allocations: 1.75 kB / 1.359 GB, free: 17.36 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007655/0.9058, allocations: 489.2 kB / 1.36 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.9059, allocations: 11.83 kB / 1.36 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.9059, allocations: 14.47 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.9061, allocations: 200.3 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9062, allocations: 3.844 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.9062, allocations: 5.062 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.9064, allocations: 86.64 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.9067, allocations: 130.9 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9067, allocations: 0.5469 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.9067, allocations: 10.66 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.9067, allocations: 1.062 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.9076, allocations: 429.6 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.9078, allocations: 103.6 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.908, allocations: 95.98 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.908, allocations: 5.312 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.908, allocations: 38 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.908, allocations: 1.344 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003384/0.9084, allocations: 135.8 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.9084, allocations: 84.12 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.9085, allocations: 124.6 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.9086, allocations: 26.83 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.9086, allocations: 90.19 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.9087, allocations: 29 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.9087, allocations: 2.156 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9088, allocations: 319.7 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.9089, allocations: 66.95 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.9091, allocations: 68.81 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.9091, allocations: 24.81 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9091, allocations: 0 / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002241/0.9094, allocations: 143.1 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9094, allocations: 8.906 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9094, allocations: 1.766 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9094, allocations: 4 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.9097, allocations: 54.5 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.9097, allocations: 1.312 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.91, allocations: 66.25 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.91, allocations: 3.5 kB / 1.362 GB, free: 31.63 MB / 0.8386 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 8.959e-05/0.9101, allocations: 138 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.9101, allocations: 13.72 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.9102, allocations: 12.14 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9102, allocations: 2.125 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9102, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9102, allocations: 6.125 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.9104, allocations: 188.9 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9104, allocations: 0 / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.9106, allocations: 58.09 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9107, allocations: 1.484 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.9107, allocations: 2.688 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9107, allocations: 0 / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9107, allocations: 4.656 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/0.911, allocations: 239.4 kB / 1.363 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.911, allocations: 83.92 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.911, allocations: 2.672 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.9113, allocations: 70.95 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.9115, allocations: 67.94 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.9116, allocations: 6.969 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001445/0.9117, allocations: 109.9 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002388/0.912, allocations: 27.77 kB / 1.363 GB, free: 30.98 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: 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.0001292/0.9121, allocations: 98.45 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.9124, allocations: 205.8 kB / 1.363 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9125, allocations: 1 kB / 1.363 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.9126, allocations: 134.2 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.9129, allocations: 18.67 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.9134, allocations: 285 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.9137, allocations: 0.7204 MB / 1.364 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9137, allocations: 0 / 1.364 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.004752/0.9185, allocations: 2.25 MB / 1.366 GB, free: 29.88 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches