Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") [: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.7 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.001139/0.001139, allocations: 172.3 kB / 487 MB, free: 5.395 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008483/0.0008483, allocations: 97.67 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.005e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1809, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6903, allocations: 148 MB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.6905, allocations: 68.23 kB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001852/0.6924, allocations: 0.513 MB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6924, allocations: 4 kB / 1.35 GB, free: 15.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003251/0.6927, allocations: 362.3 kB / 1.351 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6928, allocations: 8.062 kB / 1.351 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.6928, allocations: 7.469 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.6929, allocations: 166.3 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.6929, allocations: 1.75 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.693, allocations: 1.812 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.093e-05/0.693, allocations: 20.31 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.588e-05/0.6931, allocations: 44.3 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.6931, allocations: 1.156 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6932, allocations: 0 / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6932, allocations: 1.094 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.6936, allocations: 289.1 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.6937, allocations: 30.83 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.6937, allocations: 23.42 kB / 1.351 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6937, allocations: 0 / 1.351 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.6937, allocations: 36.19 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.6938, allocations: 0 / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.6939, allocations: 50.81 kB / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.6939, allocations: 54.09 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.694, allocations: 98.52 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.694, allocations: 25.7 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.694, allocations: 91.47 kB / 1.352 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.694, allocations: 9.062 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.6941, allocations: 0 / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.6941, allocations: 313.8 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.6941, allocations: 9.594 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.6942, allocations: 9.125 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.6942, allocations: 9.672 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6942, allocations: 5.469 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.543e-05/0.6943, allocations: 53 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.6943, allocations: 9.5 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.6943, allocations: 320 / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6943, allocations: 1.75 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6945, allocations: 26.09 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6945, allocations: 0 / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.6946, allocations: 22.61 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.6946, allocations: 5.047 kB / 1.352 GB, free: 14.29 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 (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 4.142e-05/0.6946, allocations: 101.9 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.6947, allocations: 6.031 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.6948, allocations: 64.27 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6948, allocations: 3.141 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6948, allocations: 4.891 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6948, allocations: 1.312 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.6949, allocations: 150 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6949, allocations: 0 / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.695, allocations: 25.97 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.695, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.6951, allocations: 2.797 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.6951, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6951, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.045e-05/0.6952, allocations: 146.1 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.6952, allocations: 83.14 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.6952, allocations: 5.875 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6953, allocations: 16.33 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.6954, allocations: 13.19 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.6954, allocations: 8.031 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.258e-05/0.6954, allocations: 89.47 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001956/0.6956, allocations: 9.438 kB / 1.353 GB, free: 13.65 MB / 0.8073 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 9.969e-05/0.6957, allocations: 100 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.6958, allocations: 19.91 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.6958, allocations: 1.062 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.6959, allocations: 12.27 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.696, allocations: 3.594 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.6962, allocations: 84.31 kB / 1.353 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6964, allocations: 0.6925 MB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of SimCode: time 2.11e-07/0.6964, allocations: 1.344 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.002236/0.6986, allocations: 0.6077 MB / 1.354 GB, free: 12.73 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches