Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [: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.354/1.354, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001152/0.001152, allocations: 173.3 kB / 316 MB, free: 3.547 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.482/1.482, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001027/0.001027, allocations: 83.33 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.284e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6577/0.8667, allocations: 131.1 MB / 1.013 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.867, allocations: 76.44 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0003906/0.8674, allocations: 51.03 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.8675, allocations: 0 / 1.013 GB, free: 7.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002496/0.8677, allocations: 313 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8678, allocations: 8.031 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.8678, allocations: 3.906 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.8679, allocations: 159.1 kB / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.8679, allocations: 0 / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.868, allocations: 3.984 kB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.954e-05/0.868, allocations: 7.812 kB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.827e-05/0.8681, allocations: 33.47 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.8681, allocations: 0 / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.8681, allocations: 7.906 kB / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8681, allocations: 0 / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.8684, allocations: 359.4 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.8685, allocations: 165.1 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.8685, allocations: 80.14 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.8686, allocations: 87.25 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.8686, allocations: 109.8 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.8686, allocations: 0 / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.801e-05/0.8687, allocations: 29.61 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.8687, allocations: 51.41 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.8688, allocations: 92.38 kB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.8688, allocations: 25.83 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.8689, allocations: 84.14 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-07/0.8689, allocations: 0 / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.8689, allocations: 0 / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.869, allocations: 314.8 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-06/0.869, allocations: 0 / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.869, allocations: 2.438 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.869, allocations: 75.28 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.818e-05/0.8691, allocations: 75.28 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.549e-05/0.8691, allocations: 37.64 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.8692, allocations: 4 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.8692, allocations: 76.41 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.458e-05/0.8693, allocations: 161.7 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.638e-05/0.8693, allocations: 79.22 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.115e-05/0.8694, allocations: 150.6 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.8694, allocations: 79.27 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.8695, allocations: 87.22 kB / 1.015 GB, free: 4.586 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 (0): * Single equations (assignments): 0 * 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.000115/0.8696, allocations: 251.5 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.8697, allocations: 101 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.8697, allocations: 109.6 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.931e-05/0.8698, allocations: 184.2 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-05/0.8699, allocations: 188.2 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-05/0.8699, allocations: 176.6 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.8701, allocations: 385.7 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/0.8702, allocations: 109 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.8702, allocations: 105 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.917e-05/0.8703, allocations: 180.2 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.8704, allocations: 180.3 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/0.8705, allocations: 176.3 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.154e-05/0.8705, allocations: 184.2 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001423/0.8707, allocations: 307 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.8708, allocations: 190.4 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.8708, allocations: 176.3 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.8709, allocations: 105 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.871, allocations: 191.6 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.8711, allocations: 101 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.123e-05/0.8711, allocations: 83.22 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002783/0.8714, allocations: 0 / 1.019 GB, free: 0.9883 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 (0): * Single equations (assignments): 0 * 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.8715, allocations: 170.5 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.052e-05/0.8716, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.8716, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.8716, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.8719, allocations: 0.5257 MB / 1.019 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.8721, allocations: 127.1 kB / 1.019 GB, free: 128 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.8723, allocations: 0.6763 MB / 1.02 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.8724, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Templates: time 0.001479/0.8738, allocations: 159.3 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches