Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") [: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.003/2.003, 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.001194/0.001194, allocations: 184.6 kB / 487 MB, free: 5.402 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.481/1.481, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0009316/0.0009315, allocations: 94.56 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.096e-06/8.115e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.259/5.57, allocations: 2.2 GB / 3.405 GB, free: 101.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/5.57, allocations: 90.2 kB / 3.405 GB, free: 101.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.685/11.26, allocations: 1.503 GB / 4.908 GB, free: 166.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001199/11.26, allocations: 195.1 kB / 4.908 GB, free: 166.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 0.02507/11.28, allocations: 6.803 MB / 4.915 GB, free: 164.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/11.28, allocations: 10.22 kB / 4.915 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/11.3, allocations: 2.804 MB / 4.918 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02495/11.33, allocations: 8.205 MB / 4.926 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/11.33, allocations: 188.5 kB / 4.926 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00348/11.33, allocations: 351.7 kB / 4.926 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0182/11.35, allocations: 7.069 MB / 4.933 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/11.37, allocations: 7.295 MB / 4.94 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/11.37, allocations: 10.41 kB / 4.94 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/11.38, allocations: 10.3 kB / 4.94 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/11.38, allocations: 294.2 kB / 4.941 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06983/11.45, allocations: 32.23 MB / 4.972 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009867/11.46, allocations: 4.659 MB / 4.977 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/11.46, allocations: 2.648 MB / 4.979 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002787/11.46, allocations: 2.41 MB / 4.982 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006988/11.47, allocations: 2.892 MB / 4.984 GB, free: 147.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.425e-05/11.47, allocations: 0 / 4.984 GB, free: 147.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.0277/11.5, allocations: 6.248 MB / 4.99 GB, free: 146.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/11.5, allocations: 386.6 kB / 4.991 GB, free: 146.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/11.51, allocations: 4.6 MB / 4.995 GB, free: 146.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001735/11.51, allocations: 28.89 kB / 4.995 GB, free: 146.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003922/11.52, allocations: 2.171 MB / 4.997 GB, free: 145 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003476/11.52, allocations: 1.371 MB / 4.999 GB, free: 144.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/11.52, allocations: 0 / 4.999 GB, free: 144.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005244/11.52, allocations: 488.6 kB / 4.999 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/11.53, allocations: 2.104 MB / 5.001 GB, free: 143.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/11.53, allocations: 3.057 MB / 5.004 GB, free: 142.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/11.55, allocations: 3.986 MB / 5.008 GB, free: 142.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/11.55, allocations: 11.5 kB / 5.008 GB, free: 142.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.03077/11.58, allocations: 7.201 MB / 5.015 GB, free: 142.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002822/11.58, allocations: 10.58 MB / 5.026 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/11.58, allocations: 22.31 kB / 5.026 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/11.59, allocations: 47.41 kB / 5.026 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008342/11.59, allocations: 1.306 MB / 5.027 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/11.59, allocations: 55.44 kB / 5.027 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009887/11.6, allocations: 0.6926 MB / 5.028 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/11.61, allocations: 227.9 kB / 5.028 GB, free: 130.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/11.61, allocations: 3.875 kB / 5.028 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02665/11.63, allocations: 6.625 MB / 5.034 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.132e-05/11.63, allocations: 28.41 kB / 5.034 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-05/11.63, allocations: 45.25 kB / 5.034 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/11.64, allocations: 1.303 MB / 5.036 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/11.64, allocations: 52.78 kB / 5.036 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009432/11.65, allocations: 0.6283 MB / 5.036 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/11.65, allocations: 230 kB / 5.037 GB, free: 130.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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 0.002696/11.65, allocations: 217.1 kB / 5.037 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003136/11.66, allocations: 0.5545 MB / 5.037 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02961/11.69, allocations: 7.525 MB / 5.045 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/11.69, allocations: 50.39 kB / 5.045 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/11.69, allocations: 1.875 kB / 5.045 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02155/11.71, allocations: 5.884 MB / 5.05 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0489/11.76, allocations: 14.74 MB / 5.065 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/11.76, allocations: 7.906 kB / 5.065 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007123/11.76, allocations: 1.07 MB / 5.066 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/11.76, allocations: 27.25 kB / 5.066 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/11.77, allocations: 103 kB / 5.066 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-05/11.77, allocations: 24.03 kB / 5.066 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/11.77, allocations: 13.34 kB / 5.066 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03153/11.8, allocations: 10.87 MB / 5.077 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00769/11.81, allocations: 1.62 MB / 5.078 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003877/11.81, allocations: 28.91 kB / 5.078 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009645/11.82, allocations: 447.1 kB / 5.079 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/11.82, allocations: 250 kB / 5.079 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/11.82, allocations: 207.2 kB / 5.079 GB, free: 126.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.01081/11.83, allocations: 3.561 MB / 5.083 GB, free: 126 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02462/11.86, allocations: 3.566 MB / 5.086 GB, free: 125.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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.007344/11.86, allocations: 1.596 MB / 5.088 GB, free: 124.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02222/11.89, allocations: 8.33 MB / 5.096 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.319e-05/11.89, allocations: 5.719 kB / 5.096 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/11.89, allocations: 2.592 MB / 5.098 GB, free: 121 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/11.91, allocations: 2.445 MB / 5.101 GB, free: 120.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04076/11.95, allocations: 11.85 MB / 5.112 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01219/11.96, allocations: 5.16 MB / 5.117 GB, free: 115 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/11.96, allocations: 1.875 kB / 5.117 GB, free: 115 MB / 1.167 GB Notification: Performance of Templates: time 0.2724/12.24, allocations: 156.4 MB / 5.27 GB, free: 6.383 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches