Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [: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 2.197/2.197, 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.001279/0.001279, allocations: 181.2 kB / 487 MB, free: 5.344 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.565/1.565, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.001092/0.001092, allocations: 86.72 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.364e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.877/4.198, allocations: 1.732 GB / 2.937 GB, free: 127.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.199, allocations: 91.94 kB / 2.937 GB, free: 127.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1388/4.337, allocations: 66.36 MB / 3.002 GB, free: 60.88 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.053e-05/4.338, allocations: 27.94 kB / 3.002 GB, free: 60.85 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002002/4.34, allocations: 1.152 MB / 3.003 GB, free: 59.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/4.34, allocations: 9.031 kB / 3.003 GB, free: 59.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/4.341, allocations: 214.5 kB / 3.003 GB, free: 59.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/4.342, allocations: 0.6316 MB / 3.004 GB, free: 58.75 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/4.342, allocations: 24 kB / 3.004 GB, free: 58.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/4.342, allocations: 48 kB / 3.004 GB, free: 58.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001305/4.343, allocations: 0.9952 MB / 3.005 GB, free: 57.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/4.344, allocations: 0.7388 MB / 3.006 GB, free: 56.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/4.344, allocations: 4 kB / 3.006 GB, free: 56.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/4.344, allocations: 0 / 3.006 GB, free: 56.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/4.344, allocations: 20 kB / 3.006 GB, free: 56.89 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/4.347, allocations: 2.356 MB / 3.008 GB, free: 54.47 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/4.348, allocations: 0.657 MB / 3.008 GB, free: 53.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/4.349, allocations: 246.8 kB / 3.009 GB, free: 53.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/4.349, allocations: 117.8 kB / 3.009 GB, free: 53.42 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/4.349, allocations: 382.1 kB / 3.009 GB, free: 53.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/4.349, allocations: 0 / 3.009 GB, free: 53.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001606/4.351, allocations: 0.6715 MB / 3.01 GB, free: 52.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/4.351, allocations: 244 kB / 3.01 GB, free: 52.05 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/4.352, allocations: 0.5464 MB / 3.011 GB, free: 51.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/4.352, allocations: 29.69 kB / 3.011 GB, free: 51.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/4.352, allocations: 312.1 kB / 3.011 GB, free: 51.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/4.352, allocations: 228.5 kB / 3.011 GB, free: 50.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/4.352, allocations: 0 / 3.011 GB, free: 50.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/4.352, allocations: 378.8 kB / 3.012 GB, free: 50.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/4.352, allocations: 201.3 kB / 3.012 GB, free: 50.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/4.353, allocations: 294.4 kB / 3.012 GB, free: 50.03 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/4.353, allocations: 259 kB / 3.012 GB, free: 49.78 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.353, allocations: 0 / 3.012 GB, free: 49.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001375/4.355, allocations: 0.6794 MB / 3.013 GB, free: 49.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/4.355, allocations: 7.938 kB / 3.013 GB, free: 49.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/4.355, allocations: 0 / 3.013 GB, free: 49.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/4.355, allocations: 92.72 kB / 3.013 GB, free: 48.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/4.356, allocations: 139.8 kB / 3.013 GB, free: 48.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/4.358, allocations: 1.464 MB / 3.015 GB, free: 47.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/4.358, allocations: 71.59 kB / 3.015 GB, free: 47.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/4.358, allocations: 23.98 kB / 3.015 GB, free: 47.17 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000162/4.358, allocations: 120.9 kB / 3.015 GB, free: 47.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/4.359, allocations: 78.97 kB / 3.015 GB, free: 46.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/4.361, allocations: 0.945 MB / 3.016 GB, free: 46.01 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/4.361, allocations: 11.91 kB / 3.016 GB, free: 46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/4.361, allocations: 0 / 3.016 GB, free: 46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/4.361, allocations: 3.984 kB / 3.016 GB, free: 45.99 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/4.362, allocations: 0.7796 MB / 3.017 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/4.362, allocations: 0 / 3.017 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/4.362, allocations: 151.8 kB / 3.017 GB, free: 45.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/4.363, allocations: 84.77 kB / 3.017 GB, free: 44.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/4.363, allocations: 15.98 kB / 3.017 GB, free: 44.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/4.364, allocations: 1.484 MB / 3.018 GB, free: 43.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/4.364, allocations: 0 / 3.018 GB, free: 43.32 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00158/4.366, allocations: 0.7762 MB / 3.019 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/4.366, allocations: 283.8 kB / 3.019 GB, free: 42.22 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/4.366, allocations: 4.062 kB / 3.019 GB, free: 42.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/4.367, allocations: 63.94 kB / 3.019 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/4.367, allocations: 52.7 kB / 3.019 GB, free: 42.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/4.367, allocations: 27.98 kB / 3.019 GB, free: 42.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005339/4.368, allocations: 447.1 kB / 3.02 GB, free: 41.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001124/4.369, allocations: 350.9 kB / 3.02 GB, free: 41.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/4.371, allocations: 1.094 MB / 3.021 GB, free: 40.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001152/4.372, allocations: 0.6584 MB / 3.022 GB, free: 39.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/4.372, allocations: 0 / 3.022 GB, free: 39.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/4.372, allocations: 452.7 kB / 3.022 GB, free: 39.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/4.373, allocations: 226.4 kB / 3.023 GB, free: 38.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/4.377, allocations: 1.382 MB / 3.024 GB, free: 37.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/4.378, allocations: 1.144 MB / 3.025 GB, free: 36.39 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/4.378, allocations: 0 / 3.025 GB, free: 36.39 MB / 1.151 GB Notification: Performance of Templates: time 0.02605/4.404, allocations: 17.38 MB / 3.042 GB, free: 19.14 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches