Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.053/2.053, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001743/0.001744, allocations: 185.3 kB / 490.8 MB, free: 1.902 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.454/1.454, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001286/0.001286, allocations: 93.38 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.495e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.612/3.928, allocations: 1.737 GB / 2.949 GB, free: 108.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/3.928, allocations: 86.64 kB / 2.949 GB, free: 108.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1681/4.097, allocations: 77.91 MB / 3.025 GB, free: 36.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001474/4.097, allocations: 36 kB / 3.025 GB, free: 35.99 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004042/4.101, allocations: 1.529 MB / 3.027 GB, free: 34.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/4.101, allocations: 15.97 kB / 3.027 GB, free: 34.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/4.106, allocations: 0.8524 MB / 3.027 GB, free: 33.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/4.108, allocations: 0.8574 MB / 3.028 GB, free: 32.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/4.108, allocations: 44 kB / 3.028 GB, free: 32.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/4.109, allocations: 72 kB / 3.028 GB, free: 32.52 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003286/4.112, allocations: 1.773 MB / 3.03 GB, free: 30.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/4.115, allocations: 1.34 MB / 3.031 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/4.115, allocations: 0 / 3.031 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/4.115, allocations: 3.906 kB / 3.031 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/4.115, allocations: 32 kB / 3.031 GB, free: 29.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008246/4.123, allocations: 4.614 MB / 3.036 GB, free: 24.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/4.125, allocations: 1.182 MB / 3.037 GB, free: 23.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/4.126, allocations: 0.5797 MB / 3.038 GB, free: 22.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/4.126, allocations: 490.4 kB / 3.038 GB, free: 22.23 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/4.127, allocations: 0.7446 MB / 3.039 GB, free: 21.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=124): time 4.488e-06/4.127, allocations: 0 / 3.039 GB, free: 21.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=124): time 0.002992/4.13, allocations: 1.327 MB / 3.04 GB, free: 20.13 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/4.13, allocations: 256.3 kB / 3.04 GB, free: 19.82 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/4.131, allocations: 0.6212 MB / 3.041 GB, free: 19.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/4.131, allocations: 33.7 kB / 3.041 GB, free: 19.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/4.132, allocations: 416.2 kB / 3.041 GB, free: 18.74 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/4.132, allocations: 394 kB / 3.042 GB, free: 18.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/4.132, allocations: 0 / 3.042 GB, free: 18.35 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/4.132, allocations: 349.9 kB / 3.042 GB, free: 18 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/4.133, allocations: 458.5 kB / 3.043 GB, free: 17.56 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/4.134, allocations: 0.5956 MB / 3.043 GB, free: 16.92 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/4.135, allocations: 0.5802 MB / 3.044 GB, free: 16.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/4.135, allocations: 0 / 3.044 GB, free: 16.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002861/4.138, allocations: 1.365 MB / 3.045 GB, free: 14.97 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/4.138, allocations: 4 kB / 3.045 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.138, allocations: 0 / 3.045 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/4.138, allocations: 84.84 kB / 3.045 GB, free: 14.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/4.14, allocations: 319.5 kB / 3.045 GB, free: 14.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/4.142, allocations: 1.465 MB / 3.047 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/4.143, allocations: 167.2 kB / 3.047 GB, free: 12.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/4.144, allocations: 47.95 kB / 3.047 GB, free: 12.76 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.pumCon.hys.y,pumCon.hys.y,$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 (132): * Single equations (assignments): 131 * 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.0003045/4.144, allocations: 128.8 kB / 3.047 GB, free: 12.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/4.144, allocations: 98.78 kB / 3.047 GB, free: 12.53 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/4.148, allocations: 1.787 MB / 3.049 GB, free: 10.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/4.149, allocations: 16 kB / 3.049 GB, free: 10.71 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/4.149, allocations: 3.938 kB / 3.049 GB, free: 10.71 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/4.149, allocations: 7.969 kB / 3.049 GB, free: 10.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005541/4.154, allocations: 3.273 MB / 3.052 GB, free: 7.375 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/4.154, allocations: 0 / 3.052 GB, free: 7.375 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/4.156, allocations: 315.5 kB / 3.053 GB, free: 7.066 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/4.156, allocations: 88.78 kB / 3.053 GB, free: 6.977 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/4.156, allocations: 27.95 kB / 3.053 GB, free: 6.949 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/4.158, allocations: 1.488 MB / 3.054 GB, free: 5.344 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/4.158, allocations: 8 kB / 3.054 GB, free: 5.336 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003032/4.161, allocations: 1.51 MB / 3.056 GB, free: 3.809 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/4.162, allocations: 419.1 kB / 3.056 GB, free: 3.379 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/4.162, allocations: 7.984 kB / 3.056 GB, free: 3.371 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/4.164, allocations: 127.9 kB / 3.056 GB, free: 3.246 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/4.164, allocations: 85.17 kB / 3.056 GB, free: 3.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/4.164, allocations: 47.95 kB / 3.056 GB, free: 3.113 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007864/4.165, allocations: 0.5187 MB / 3.057 GB, free: 2.602 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002025/4.167, allocations: 466.6 kB / 3.057 GB, free: 2.145 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: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.002666/4.17, allocations: 1.109 MB / 3.058 GB, free: 1.137 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.4605/4.63, allocations: 1.297 MB / 3.06 GB, free: 0.5079 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/4.63, allocations: 11.53 kB / 3.06 GB, free: 0.5079 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/4.632, allocations: 0.7921 MB / 3.06 GB, free: 0.5078 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/4.634, allocations: 226.2 kB / 3.061 GB, free: 0.5078 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/4.64, allocations: 2.051 MB / 3.063 GB, free: 0.5073 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/4.642, allocations: 1.366 MB / 3.064 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of SimCode: time 1.954e-06/4.642, allocations: 0 / 3.064 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of Templates: time 0.03869/4.681, allocations: 26.21 MB / 3.089 GB, free: 0.5055 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches