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.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.Continuous.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.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.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.Continuous.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.419/1.419, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.001153/0.001153, allocations: 181.3 kB / 316 MB, free: 3.574 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.508/1.508, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008991/0.0008991, allocations: 95.67 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.045e-06, allocations: 4 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1874, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.655, allocations: 131.6 MB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.6552, allocations: 71.27 kB / 1.013 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002116/0.6573, allocations: 0.5491 MB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6574, allocations: 0 / 1.014 GB, free: 6.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003976/0.6578, allocations: 365.6 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6578, allocations: 8.031 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.6579, allocations: 3.906 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.658, allocations: 175 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.658, allocations: 0 / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.658, allocations: 4 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.914e-05/0.6581, allocations: 14.38 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.6582, allocations: 52.53 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6582, allocations: 0 / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6582, allocations: 0 / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.6583, allocations: 4 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.6588, allocations: 291 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.6589, allocations: 30.14 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.6589, allocations: 12.55 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.659, allocations: 0 / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.659, allocations: 38.31 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.659, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001605/0.6592, allocations: 48.88 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.6592, allocations: 54.14 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.6593, allocations: 103.6 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.6593, allocations: 29.7 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.6593, allocations: 84.12 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.6594, allocations: 8.656 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.6594, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.6595, allocations: 313.9 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.6595, allocations: 7.938 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.6595, allocations: 10.69 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.6596, allocations: 11.11 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6596, allocations: 3.906 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.525e-05/0.6597, allocations: 48.39 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.6597, allocations: 7.938 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6597, allocations: 4 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6597, allocations: 3.984 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6599, allocations: 19.98 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.6599, allocations: 4 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.66, allocations: 20.58 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.66, allocations: 4 kB / 1.015 GB, free: 4.637 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.472e-05/0.6601, allocations: 104.9 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.6601, allocations: 8.094 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.6602, allocations: 67.78 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6602, allocations: 0 / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6602, allocations: 0 / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.6602, allocations: 0 / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.6604, allocations: 149.5 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6604, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.6605, allocations: 27.97 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6605, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6606, allocations: 3.906 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6606, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6606, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001316/0.6607, allocations: 152.8 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.6608, allocations: 81.11 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.6608, allocations: 4 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.6609, allocations: 16.92 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.661, allocations: 3.984 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.661, allocations: 7.906 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.126e-05/0.661, allocations: 86.53 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002067/0.6612, allocations: 7.938 kB / 1.016 GB, free: 3.871 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001307/0.6614, allocations: 99.25 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.486e-05/0.6615, allocations: 23.36 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6615, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/0.6615, allocations: 15.38 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.6617, allocations: 11.44 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.6619, allocations: 82.84 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.6622, allocations: 0.6915 MB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.6622, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Templates: time 0.002133/0.6644, allocations: 0.6108 MB / 1.018 GB, free: 2.324 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches