Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.928/1.928, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001125/0.001125, allocations: 177.3 kB / 490.8 MB, free: 1.949 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.246/1.246, allocations: 221.3 MB / 0.7863 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009661, allocations: 88.67 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.211e-06/6.231e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2669, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.649/3.916, allocations: 1.733 GB / 2.944 GB, free: 139.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/3.917, allocations: 83.95 kB / 2.944 GB, free: 139.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1441/4.061, allocations: 66.8 MB / 3.009 GB, free: 72.06 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001133/4.061, allocations: 35.86 kB / 3.009 GB, free: 72.02 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.002988/4.064, allocations: 1.152 MB / 3.011 GB, free: 70.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/4.064, allocations: 8.031 kB / 3.011 GB, free: 70.81 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/4.065, allocations: 206.5 kB / 3.011 GB, free: 70.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/4.067, allocations: 0.6355 MB / 3.011 GB, free: 69.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/4.067, allocations: 24 kB / 3.011 GB, free: 69.91 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/4.067, allocations: 48 kB / 3.011 GB, free: 69.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001619/4.069, allocations: 0.9913 MB / 3.012 GB, free: 68.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/4.07, allocations: 0.7349 MB / 3.013 GB, free: 68.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/4.07, allocations: 7.984 kB / 3.013 GB, free: 68.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/4.07, allocations: 0 / 3.013 GB, free: 68.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/4.07, allocations: 24 kB / 3.013 GB, free: 68.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/4.074, allocations: 2.345 MB / 3.015 GB, free: 65.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/4.075, allocations: 0.6648 MB / 3.016 GB, free: 64.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/4.075, allocations: 246.8 kB / 3.016 GB, free: 64.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/4.075, allocations: 121.6 kB / 3.016 GB, free: 64.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/4.076, allocations: 378.1 kB / 3.017 GB, free: 64.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/4.076, allocations: 4 kB / 3.017 GB, free: 64.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001682/4.078, allocations: 0.6676 MB / 3.017 GB, free: 63.53 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/4.078, allocations: 244 kB / 3.018 GB, free: 63.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/4.078, allocations: 0.5465 MB / 3.018 GB, free: 62.69 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/4.078, allocations: 29.64 kB / 3.018 GB, free: 62.65 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/4.079, allocations: 312.1 kB / 3.019 GB, free: 62.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/4.079, allocations: 228.5 kB / 3.019 GB, free: 62.11 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/4.079, allocations: 0 / 3.019 GB, free: 62.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001012/4.079, allocations: 378.8 kB / 3.019 GB, free: 61.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/4.079, allocations: 205.2 kB / 3.019 GB, free: 61.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/4.08, allocations: 294.4 kB / 3.02 GB, free: 61.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/4.08, allocations: 255.1 kB / 3.02 GB, free: 60.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/4.08, allocations: 0 / 3.02 GB, free: 60.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00151/4.082, allocations: 0.6833 MB / 3.021 GB, free: 60.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/4.082, allocations: 4 kB / 3.021 GB, free: 60.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/4.082, allocations: 0 / 3.021 GB, free: 60.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/4.082, allocations: 84.84 kB / 3.021 GB, free: 60.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/4.083, allocations: 143.8 kB / 3.021 GB, free: 60.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/4.085, allocations: 1.464 MB / 3.022 GB, free: 58.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/4.085, allocations: 75.53 kB / 3.022 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/4.086, allocations: 27.98 kB / 3.022 GB, free: 58.36 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.0001962/4.086, allocations: 116.9 kB / 3.022 GB, free: 58.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/4.086, allocations: 79.06 kB / 3.022 GB, free: 58.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/4.088, allocations: 0.9449 MB / 3.023 GB, free: 57.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/4.088, allocations: 8 kB / 3.023 GB, free: 57.19 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/4.088, allocations: 0 / 3.023 GB, free: 57.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/4.088, allocations: 11.88 kB / 3.023 GB, free: 57.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/4.089, allocations: 0.7789 MB / 3.024 GB, free: 56.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/4.089, allocations: 0 / 3.024 GB, free: 56.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/4.09, allocations: 151.8 kB / 3.024 GB, free: 56.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/4.09, allocations: 88.67 kB / 3.024 GB, free: 56.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/4.09, allocations: 15.98 kB / 3.024 GB, free: 56.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/4.092, allocations: 1.485 MB / 3.026 GB, free: 54.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.092, allocations: 4.062 kB / 3.026 GB, free: 54.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001527/4.093, allocations: 0.7761 MB / 3.027 GB, free: 53.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/4.094, allocations: 283.8 kB / 3.027 GB, free: 53.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/4.094, allocations: 11.94 kB / 3.027 GB, free: 53.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/4.095, allocations: 55.94 kB / 3.027 GB, free: 53.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/4.095, allocations: 52.7 kB / 3.027 GB, free: 53.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/4.095, allocations: 27.98 kB / 3.027 GB, free: 53.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006237/4.095, allocations: 451.1 kB / 3.027 GB, free: 52.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001554/4.097, allocations: 339 kB / 3.028 GB, free: 52.49 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.002947/4.1, allocations: 1.099 MB / 3.029 GB, free: 51.49 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001426/4.101, allocations: 0.6547 MB / 3.03 GB, free: 50.82 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/4.101, allocations: 128 / 3.03 GB, free: 50.82 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/4.102, allocations: 456.5 kB / 3.03 GB, free: 50.37 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/4.103, allocations: 229.1 kB / 3.03 GB, free: 50.15 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/4.108, allocations: 1.382 MB / 3.032 GB, free: 48.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/4.11, allocations: 1.146 MB / 3.033 GB, free: 47.56 MB / 1.151 GB Notification: Performance of SimCode: time 2.154e-06/4.11, allocations: 0 / 3.033 GB, free: 47.56 MB / 1.151 GB Notification: Performance of Templates: time 0.02994/4.14, allocations: 17.37 MB / 3.05 GB, free: 30.33 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches