Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.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 9.1.1-maint.9.1.x/package.mo): time 1.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009574/0.0009574, allocations: 185.2 kB / 487 MB, free: 5.32 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.142/1.142, allocations: 221.3 MB / 0.7819 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 103.2 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.943e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.678, allocations: 147.5 MB / 1.349 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.6782, allocations: 71.89 kB / 1.349 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0003149/0.6786, allocations: 58.75 kB / 1.349 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6786, allocations: 2.156 kB / 1.349 GB, free: 15.92 MB / 0.8073 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.0001389/0.6787, allocations: 306.4 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6788, allocations: 10.03 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.6788, allocations: 1.25 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.897e-05/0.6789, allocations: 165.1 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.6789, allocations: 1.844 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.6789, allocations: 0 / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.224e-05/0.679, allocations: 1.75 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.544e-05/0.679, allocations: 27.89 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.679, allocations: 1.188 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.679, allocations: 3.531 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.679, allocations: 3.938 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.6792, allocations: 365.1 kB / 1.35 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.6793, allocations: 172.3 kB / 1.35 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.6793, allocations: 81.23 kB / 1.351 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.6793, allocations: 75.28 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.6793, allocations: 110.6 kB / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6793, allocations: 0 / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.446e-05/0.6794, allocations: 32.38 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.6794, allocations: 55.41 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.734e-05/0.6795, allocations: 86.16 kB / 1.351 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.6795, allocations: 28.16 kB / 1.351 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.6795, allocations: 80.14 kB / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.6795, allocations: 0 / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.6795, allocations: 1.188 kB / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.6796, allocations: 314.8 kB / 1.351 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.6796, allocations: 128 / 1.351 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.6796, allocations: 5.344 kB / 1.351 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.164e-05/0.6796, allocations: 80.64 kB / 1.351 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6796, allocations: 75.28 kB / 1.351 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.262e-05/0.6797, allocations: 29.3 kB / 1.351 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6797, allocations: 9.484 kB / 1.351 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.6797, allocations: 76.47 kB / 1.352 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.6798, allocations: 153.2 kB / 1.352 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.041e-05/0.6798, allocations: 83.22 kB / 1.352 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6798, allocations: 157.1 kB / 1.352 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.6798, allocations: 76.69 kB / 1.352 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6799, allocations: 75.28 kB / 1.352 GB, free: 13.11 MB / 0.8073 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 5.067e-05/0.6799, allocations: 260.9 kB / 1.352 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.68, allocations: 107.5 kB / 1.352 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.68, allocations: 114.6 kB / 1.353 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.68, allocations: 180.2 kB / 1.353 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.68, allocations: 180.2 kB / 1.353 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.6801, allocations: 178 kB / 1.353 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.6802, allocations: 389.8 kB / 1.353 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6802, allocations: 107.8 kB / 1.353 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.6802, allocations: 105.6 kB / 1.354 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.6802, allocations: 185.3 kB / 1.354 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6803, allocations: 178.8 kB / 1.354 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-05/0.6803, allocations: 177.6 kB / 1.354 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.6803, allocations: 181.5 kB / 1.354 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.524e-05/0.6804, allocations: 307.1 kB / 1.355 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.6804, allocations: 185.2 kB / 1.355 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.6804, allocations: 181.5 kB / 1.355 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.6805, allocations: 107.9 kB / 1.355 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.6805, allocations: 188.2 kB / 1.355 GB, free: 25.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.6806, allocations: 107.5 kB / 1.355 GB, free: 25.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.59e-05/0.6806, allocations: 80.25 kB / 1.355 GB, free: 25.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002244/0.6809, allocations: 0 / 1.355 GB, free: 25.54 MB / 0.823 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.0001153/0.681, allocations: 173.3 kB / 1.356 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.638e-05/0.681, allocations: 1.312 kB / 1.356 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.681, allocations: 4.094 kB / 1.356 GB, free: 25.37 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.681, allocations: 0 / 1.356 GB, free: 25.37 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.6813, allocations: 0.5208 MB / 1.356 GB, free: 24.85 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00013/0.6814, allocations: 114.9 kB / 1.356 GB, free: 24.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.6817, allocations: 0.6811 MB / 1.357 GB, free: 24.01 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.6817, allocations: 4 kB / 1.357 GB, free: 24.01 MB / 0.823 GB Notification: Performance of Templates: time 0.0012/0.6829, allocations: 153.6 kB / 1.357 GB, free: 23.96 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches