Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.5.|numReq1.u.4.|numReq1.u.3.|numReq1.u.2.|numReq1.u.1.|numReq1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.5.|numReq1.u.4.|numReq1.u.3.|numReq1.u.2.|numReq1.u.1.|numReq1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 188.3 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 88.45 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.188e-06/9.208e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6705/0.9055, allocations: 131.8 MB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.9058, allocations: 75.39 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005115/0.9109, allocations: 1.404 MB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.911, allocations: 0 / 1.015 GB, free: 5.645 MB / 0.6355 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.0007545/0.9117, allocations: 489.7 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.618e-05/0.9118, allocations: 8.031 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.9119, allocations: 18.2 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.9121, allocations: 205.8 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.9122, allocations: 6.688 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.9122, allocations: 7.984 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001976/0.9124, allocations: 88.05 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.9126, allocations: 113.3 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9126, allocations: 0 / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.9127, allocations: 4 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.9127, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.9136, allocations: 431 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.9137, allocations: 116.4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.9139, allocations: 94.78 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.9139, allocations: 3.625 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.9139, allocations: 30.56 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.9139, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003146/0.9143, allocations: 134.1 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.9143, allocations: 85.09 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9144, allocations: 126.3 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9145, allocations: 32.7 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.9145, allocations: 95.53 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.9146, allocations: 18.94 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.9146, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9147, allocations: 326.3 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.9148, allocations: 66.3 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.9149, allocations: 68.61 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.915, allocations: 32.73 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.915, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002195/0.9152, allocations: 137.4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9152, allocations: 4 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9152, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9153, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.9156, allocations: 59.27 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.9156, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.9158, allocations: 63.86 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.9159, allocations: 5.312 kB / 1.017 GB, free: 2.914 MB / 0.6355 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 0.0001228/0.916, allocations: 141.7 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.916, allocations: 11.91 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.9161, allocations: 16.31 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9161, allocations: 3.906 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9161, allocations: 0 / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.9161, allocations: 8.031 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9163, allocations: 189.1 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9163, allocations: 0 / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.9166, allocations: 55.58 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.9166, allocations: 8 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.9166, allocations: 0.875 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9166, allocations: 3.906 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9166, allocations: 0 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003065/0.9169, allocations: 235.2 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.917, allocations: 88.92 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.917, allocations: 4.062 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.9173, allocations: 67.94 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.9175, allocations: 69.23 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.9176, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.174e-05/0.9176, allocations: 103.3 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002391/0.9179, allocations: 31.94 kB / 1.018 GB, free: 1.898 MB / 0.6355 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.0001929/0.9181, allocations: 99.25 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.9184, allocations: 200.1 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9185, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.9187, allocations: 133.7 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.9189, allocations: 19.17 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.9195, allocations: 282.7 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.9199, allocations: 0.7225 MB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.92, allocations: 0 / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of Templates: time 0.004859/0.9248, allocations: 2.255 MB / 1.022 GB, free: 14.31 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches