Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") [: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.795/1.795, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001135/0.001135, allocations: 181.2 kB / 487 MB, free: 5.359 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.136/1.136, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0008141/0.0008142, allocations: 97.86 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.115e-06, allocations: 8 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.69, allocations: 148 MB / 1.35 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001526/0.6902, allocations: 69 kB / 1.35 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001316/0.6916, allocations: 348.1 kB / 1.35 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6916, allocations: 1.781 kB / 1.35 GB, free: 15.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002407/0.6918, allocations: 334.2 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6919, allocations: 9.562 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.6919, allocations: 6.984 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.146e-05/0.692, allocations: 164.5 kB / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.692, allocations: 0 / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.692, allocations: 5.406 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.754e-05/0.6921, allocations: 11.42 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.174e-05/0.6921, allocations: 36.03 kB / 1.351 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6921, allocations: 0 / 1.351 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.6922, allocations: 5.453 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6922, allocations: 2.156 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.6925, allocations: 247.1 kB / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.781e-05/0.6925, allocations: 28.77 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.6925, allocations: 16.2 kB / 1.351 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.6926, allocations: 0 / 1.351 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.6926, allocations: 37 kB / 1.351 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6926, allocations: 0 / 1.351 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001181/0.6927, allocations: 43.55 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.42e-05/0.6927, allocations: 51.41 kB / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.6928, allocations: 91.05 kB / 1.351 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.6928, allocations: 29.64 kB / 1.351 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.6928, allocations: 84.86 kB / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.6928, allocations: 6.609 kB / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6928, allocations: 0 / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.204e-05/0.6929, allocations: 312.2 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.6929, allocations: 10.66 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.6929, allocations: 2.75 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.571e-05/0.6929, allocations: 8.234 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6929, allocations: 0 / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.267e-05/0.693, allocations: 46.25 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.693, allocations: 5.5 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.693, allocations: 0 / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.693, allocations: 0 / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.6931, allocations: 16.86 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.6931, allocations: 0 / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.6932, allocations: 9.922 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.6932, allocations: 1.375 kB / 1.352 GB, free: 14.16 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 (2): * Single equations (assignments): 2 * 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 3.679e-05/0.6933, allocations: 102.4 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.6933, allocations: 11.59 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/0.6934, allocations: 50.81 kB / 1.352 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6934, allocations: 2.938 kB / 1.352 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.6934, allocations: 0 / 1.352 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6934, allocations: 1.375 kB / 1.352 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.6935, allocations: 142.1 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6935, allocations: 2.406 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.6936, allocations: 15.52 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6936, allocations: 1.375 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.6936, allocations: 0 / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.6936, allocations: 0 / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6936, allocations: 1.375 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.569e-05/0.6937, allocations: 135.6 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.6937, allocations: 78.39 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.6937, allocations: 2.703 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.6938, allocations: 12.28 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.6938, allocations: 2.75 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.6938, allocations: 8.062 kB / 1.352 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.757e-05/0.6939, allocations: 86.09 kB / 1.352 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001923/0.6941, allocations: 7.875 kB / 1.352 GB, free: 13.53 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 (2): * Single equations (assignments): 2 * 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.137e-05/0.6942, allocations: 102.6 kB / 1.352 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.604e-05/0.6942, allocations: 11.91 kB / 1.352 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.6942, allocations: 0 / 1.352 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.6943, allocations: 8.875 kB / 1.352 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6944, allocations: 8.062 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.6946, allocations: 58.48 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6947, allocations: 0.6886 MB / 1.353 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.6947, allocations: 4.125 kB / 1.353 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.001705/0.6964, allocations: 406.8 kB / 1.354 GB, free: 12.62 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches