Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [: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.402/1.402, allocations: 249.4 MB / 256.7 MB, free: 0.7305 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 176.3 kB / 316 MB, free: 8.926 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 0.5667 GB, free: 13.46 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.0009165, allocations: 89.8 kB / 0.671 GB, free: 51.63 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.067e-06, allocations: 4 kB / 0.7807 GB, free: 9.965 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6447, allocations: 106.3 MB / 0.8846 GB, free: 89.19 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.8318, allocations: 131 MB / 1.012 GB, free: 14.73 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.8322, allocations: 75.38 kB / 1.013 GB, free: 14.66 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.008056/0.8403, allocations: 1.149 MB / 1.014 GB, free: 13.55 MB / 0.659 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.8403, allocations: 4 kB / 1.014 GB, free: 13.55 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008827/0.8412, allocations: 386.4 kB / 1.014 GB, free: 13.14 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.8413, allocations: 12.02 kB / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.8414, allocations: 16.81 kB / 1.014 GB, free: 13.11 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.8416, allocations: 171 kB / 1.014 GB, free: 12.9 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.8417, allocations: 4 kB / 1.014 GB, free: 12.9 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.8417, allocations: 8.469 kB / 1.014 GB, free: 12.89 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000242/0.842, allocations: 43.98 kB / 1.014 GB, free: 12.85 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.8423, allocations: 70.44 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.8423, allocations: 2.844 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.8423, allocations: 0.8906 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8424, allocations: 4.75 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.8432, allocations: 319.2 kB / 1.015 GB, free: 12.42 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.8441, allocations: 89.84 kB / 1.015 GB, free: 12.33 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.8442, allocations: 24.86 kB / 1.015 GB, free: 12.3 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.8443, allocations: 0 / 1.015 GB, free: 12.3 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.8443, allocations: 38.5 kB / 1.015 GB, free: 12.25 MB / 0.659 GB Notification: Performance of pre-optimization done (n=7): time 5.891e-06/0.8444, allocations: 1.859 kB / 1.015 GB, free: 12.25 MB / 0.659 GB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.8448, allocations: 85.52 kB / 1.015 GB, free: 12.16 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.8448, allocations: 55.41 kB / 1.015 GB, free: 12.1 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.845, allocations: 109.7 kB / 1.015 GB, free: 11.98 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.8451, allocations: 30.45 kB / 1.015 GB, free: 11.95 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.8451, allocations: 88.05 kB / 1.015 GB, free: 11.86 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.8452, allocations: 19.73 kB / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.8452, allocations: 0 / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8454, allocations: 322.8 kB / 1.015 GB, free: 11.52 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.8455, allocations: 19.98 kB / 1.016 GB, free: 11.5 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.8456, allocations: 20 kB / 1.016 GB, free: 11.48 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.832e-05/0.8457, allocations: 25.86 kB / 1.016 GB, free: 11.45 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8457, allocations: 1.5 kB / 1.016 GB, free: 11.45 MB / 0.659 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002887/0.846, allocations: 89.52 kB / 1.016 GB, free: 11.36 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8461, allocations: 4 kB / 1.016 GB, free: 11.36 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8461, allocations: 0 / 1.016 GB, free: 11.36 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8461, allocations: 0 / 1.016 GB, free: 11.36 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.8465, allocations: 35.97 kB / 1.016 GB, free: 11.32 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8466, allocations: 4 kB / 1.016 GB, free: 11.32 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.8469, allocations: 19.97 kB / 1.016 GB, free: 11.3 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.847, allocations: 4 kB / 1.016 GB, free: 11.29 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001169/0.8471, allocations: 104.9 kB / 1.016 GB, free: 11.18 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.8472, allocations: 11.91 kB / 1.016 GB, free: 11.17 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.8476, allocations: 111.2 kB / 1.016 GB, free: 11.06 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8476, allocations: 0 / 1.016 GB, free: 11.06 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8476, allocations: 0 / 1.016 GB, free: 11.06 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.8476, allocations: 0 / 1.016 GB, free: 11.06 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.8479, allocations: 173.2 kB / 1.016 GB, free: 10.86 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8479, allocations: 3.75 kB / 1.016 GB, free: 10.86 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.8483, allocations: 35.97 kB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.8483, allocations: 3.906 kB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.8484, allocations: 3.984 kB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.8484, allocations: 4 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8484, allocations: 0 / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003517/0.8488, allocations: 183.4 kB / 1.016 GB, free: 10.62 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.8489, allocations: 81.02 kB / 1.016 GB, free: 10.52 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.8489, allocations: 7.938 kB / 1.016 GB, free: 10.51 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.8492, allocations: 15.98 kB / 1.016 GB, free: 10.5 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.8494, allocations: 19.97 kB / 1.016 GB, free: 10.48 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.8494, allocations: 7.984 kB / 1.016 GB, free: 10.47 MB / 0.659 GB Notification: Performance of sort global known variables: time 8.397e-05/0.8495, allocations: 92.27 kB / 1.017 GB, free: 10.38 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0004639/0.85, allocations: 24.03 kB / 1.017 GB, free: 10.36 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0002006/0.8502, allocations: 99.19 kB / 1.017 GB, free: 10.25 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.8505, allocations: 54.45 kB / 1.017 GB, free: 10.2 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8505, allocations: 3.938 kB / 1.017 GB, free: 10.2 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.8507, allocations: 47.92 kB / 1.017 GB, free: 10.15 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.851, allocations: 4 kB / 1.017 GB, free: 10.14 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.8516, allocations: 115.5 kB / 1.017 GB, free: 10.01 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.8521, allocations: 0.7114 MB / 1.018 GB, free: 9.27 MB / 0.659 GB Notification: Performance of SimCode: time 6.81e-07/0.8521, allocations: 0 / 1.018 GB, free: 9.27 MB / 0.659 GB Notification: Performance of Templates: time 0.006377/0.8585, allocations: 1.384 MB / 1.019 GB, free: 7.93 MB / 0.659 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches