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.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") [: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.418/1.418, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001032/0.001032, allocations: 192.4 kB / 316 MB, free: 3.492 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.506/1.506, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0009891/0.0009894, allocations: 98.77 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.3e-05, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6535/0.8893, allocations: 131.2 MB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.8896, allocations: 69.19 kB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001798/0.8914, allocations: 466.6 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.8915, allocations: 0 / 1.013 GB, free: 6.879 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002904/0.8918, allocations: 341.8 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.8918, allocations: 8.031 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.8919, allocations: 11.53 kB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.8921, allocations: 181.5 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.8921, allocations: 4 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.8921, allocations: 4 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.8922, allocations: 43.41 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.8923, allocations: 68.23 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.8924, allocations: 0 / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.8924, allocations: 0 / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8924, allocations: 4 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.8928, allocations: 453.1 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.8929, allocations: 172.7 kB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.8929, allocations: 88.08 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.893, allocations: 79.22 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.893, allocations: 111.7 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.893, allocations: 0 / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.679e-05/0.8931, allocations: 25.7 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.8931, allocations: 56.14 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.8933, allocations: 111.7 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.8933, allocations: 29.7 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.8933, allocations: 95.5 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.8933, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.8933, allocations: 4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8935, allocations: 318.4 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.8935, allocations: 4 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.8936, allocations: 15.23 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.8936, allocations: 6.438 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8936, allocations: 4 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001116/0.8937, allocations: 57.08 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.8937, allocations: 4 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8937, allocations: 96 / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8938, allocations: 7.984 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.8938, allocations: 4 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8938, allocations: 0 / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.8939, allocations: 4 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.8939, allocations: 0 / 1.015 GB, free: 4.484 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 (1): * Single equations (assignments): 1 * 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 8.733e-05/0.894, allocations: 184.2 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.894, allocations: 105 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.8941, allocations: 120 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.728e-05/0.8942, allocations: 176.3 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.687e-05/0.8942, allocations: 176.3 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/0.8943, allocations: 184.2 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.8945, allocations: 396 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.8945, allocations: 105 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.8946, allocations: 108.9 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.8947, allocations: 184.2 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.8947, allocations: 176.3 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.678e-05/0.8948, allocations: 188.1 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-05/0.8948, allocations: 176.6 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001343/0.895, allocations: 319.6 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.8951, allocations: 181.5 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.8951, allocations: 180.3 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.8952, allocations: 104.9 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.8953, allocations: 184.2 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.8953, allocations: 109 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.704e-05/0.8954, allocations: 94.08 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002194/0.8957, allocations: 11.94 kB / 1.019 GB, free: 0.9102 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.0002117/0.8959, allocations: 174.5 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.8959, allocations: 11.62 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8959, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-06/0.896, allocations: 4.062 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.8963, allocations: 0.5224 MB / 1.019 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.8966, allocations: 146.8 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.8969, allocations: 0.7108 MB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8969, allocations: 7.938 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.001913/0.8989, allocations: 305.8 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches