Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") [: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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009572/0.0009571, allocations: 184.3 kB / 487 MB, free: 5.414 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.116/1.116, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0008129/0.0008129, allocations: 94 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5285/0.7223, allocations: 148.1 MB / 1.35 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001358/0.7225, allocations: 71.47 kB / 1.35 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002871/0.7254, allocations: 0.8254 MB / 1.351 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7254, allocations: 5 kB / 1.351 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003118/0.7257, allocations: 368.5 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.7257, allocations: 9.656 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.7258, allocations: 7.5 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.7259, allocations: 175.2 kB / 1.351 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7259, allocations: 5.438 kB / 1.351 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.7259, allocations: 3.844 kB / 1.351 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.854e-05/0.726, allocations: 37.03 kB / 1.351 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.7261, allocations: 61.25 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7261, allocations: 7.797 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7261, allocations: 0 / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7261, allocations: 1.219 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.7266, allocations: 323.4 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.7267, allocations: 68.69 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.7268, allocations: 27.3 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.7268, allocations: 3.938 kB / 1.352 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.7268, allocations: 33.77 kB / 1.352 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.7268, allocations: 0 / 1.352 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001769/0.727, allocations: 75.16 kB / 1.352 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.245e-05/0.727, allocations: 55.34 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.7271, allocations: 110.8 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.7271, allocations: 25.7 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.763e-05/0.7271, allocations: 96 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.7271, allocations: 16.22 kB / 1.352 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.7271, allocations: 0 / 1.352 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.7272, allocations: 319.2 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.7272, allocations: 16.69 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.7272, allocations: 16.52 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.7273, allocations: 17.56 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7273, allocations: 3.906 kB / 1.353 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001106/0.7274, allocations: 78.3 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.7274, allocations: 15.97 kB / 1.353 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7274, allocations: 1.375 kB / 1.353 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.7274, allocations: 3.906 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.7276, allocations: 19.83 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.7276, allocations: 0.9375 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.7277, allocations: 14.2 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7277, allocations: 2.156 kB / 1.353 GB, free: 14.3 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 (6): * Single equations (assignments): 6 * 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.743e-05/0.7278, allocations: 102.1 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.7278, allocations: 7.156 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.7278, allocations: 10.92 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.7278, allocations: 1.312 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7278, allocations: 0 / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7278, allocations: 5.094 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.728, allocations: 167.2 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.728, allocations: 4.969 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.7281, allocations: 23.97 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7281, allocations: 0 / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.7281, allocations: 1.547 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7281, allocations: 3 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7281, allocations: 0 / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001226/0.7282, allocations: 179.5 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.7283, allocations: 86.34 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7283, allocations: 6.172 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.7284, allocations: 10.67 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.7285, allocations: 11.58 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.7285, allocations: 2.281 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.019e-05/0.7285, allocations: 99.69 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000207/0.7287, allocations: 15.22 kB / 1.353 GB, free: 13.7 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 (6): * Single equations (assignments): 6 * 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.097e-05/0.7288, allocations: 108.4 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.7289, allocations: 42.67 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.31e-07/0.7289, allocations: 0 / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.729, allocations: 26.72 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.7292, allocations: 6.594 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.7295, allocations: 119.1 kB / 1.354 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.7296, allocations: 0.7074 MB / 1.354 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.7296, allocations: 0 / 1.354 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.00269/0.7323, allocations: 1.063 MB / 1.355 GB, free: 12.73 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches