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.Average.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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") [: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.33/1.33, 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.001054/0.001054, allocations: 177 kB / 316 MB, free: 3.543 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.665/1.665, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001157/0.001157, allocations: 81.27 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.2e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 106.4 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5929/0.814, allocations: 131.6 MB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.8144, allocations: 70.45 kB / 1.013 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002342/0.8167, allocations: 0.5393 MB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8168, allocations: 4 kB / 1.014 GB, free: 6.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000463/0.8173, allocations: 365.4 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8173, allocations: 8.031 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.8174, allocations: 11.89 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.8175, allocations: 167.8 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.8175, allocations: 0 / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.8175, allocations: 0 / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.899e-05/0.8176, allocations: 19.5 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.8177, allocations: 49.09 kB / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8178, allocations: 4 kB / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8178, allocations: 0 / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8178, allocations: 0 / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.8183, allocations: 299 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.8184, allocations: 25.77 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.8185, allocations: 19.3 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.8185, allocations: 4 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.8186, allocations: 30.56 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.8186, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001784/0.8187, allocations: 53.38 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.8188, allocations: 54.14 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.8189, allocations: 100.9 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.8189, allocations: 29.64 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.8189, allocations: 92.12 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.819, allocations: 3.906 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.819, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8191, allocations: 314.8 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.8191, allocations: 7.688 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.8191, allocations: 11.81 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.8192, allocations: 7.984 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8192, allocations: 3.906 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.129e-05/0.8193, allocations: 44.95 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.8193, allocations: 8 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8193, allocations: 4 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8193, allocations: 2.875 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.8195, allocations: 23.97 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8195, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.797e-05/0.8196, allocations: 23.89 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.8196, allocations: 0 / 1.015 GB, free: 4.648 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 (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 7.311e-05/0.8197, allocations: 108.9 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.8197, allocations: 3.906 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.8198, allocations: 11.31 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8198, allocations: 4.188 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8198, allocations: 0 / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.8198, allocations: 7.969 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.8199, allocations: 149 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8199, allocations: 0 / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.8201, allocations: 23.98 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8201, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.8201, allocations: 3.906 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8201, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8201, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001355/0.8202, allocations: 146.9 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.8203, allocations: 77.11 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.8203, allocations: 4 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.8205, allocations: 27.91 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.8205, allocations: 3.562 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8205, allocations: 3.75 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.821e-05/0.8206, allocations: 102.4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002223/0.8208, allocations: 7.938 kB / 1.016 GB, free: 3.922 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 (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 0.0001528/0.821, allocations: 99.25 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.8211, allocations: 18.81 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8211, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.8211, allocations: 11.25 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.8214, allocations: 4 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.8216, allocations: 86.31 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.8219, allocations: 0.6915 MB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.8219, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of Templates: time 0.002471/0.8244, allocations: 0.6083 MB / 1.018 GB, free: 2.383 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches