Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.001017/0.001017, allocations: 193 kB / 316 MB, free: 3.48 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.071/1.071, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008369/0.0008368, allocations: 90.58 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.826/3.986, allocations: 2.476 GB / 3.36 GB, free: 273.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/3.986, allocations: 87.95 kB / 3.36 GB, free: 273.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.892/7.878, allocations: 1.442 GB / 4.803 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007544/7.879, allocations: 191.9 kB / 4.803 GB, free: 101.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.01674/7.896, allocations: 6.639 MB / 4.809 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/7.896, allocations: 10.5 kB / 4.809 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/7.914, allocations: 2.699 MB / 4.812 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/7.934, allocations: 7.931 MB / 4.82 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/7.934, allocations: 185.6 kB / 4.82 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/7.936, allocations: 343.4 kB / 4.82 GB, free: 94.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01301/7.949, allocations: 6.948 MB / 4.827 GB, free: 91.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/7.963, allocations: 7.062 MB / 4.834 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/7.963, allocations: 19.17 kB / 4.834 GB, free: 88.87 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006781/7.964, allocations: 8.625 kB / 4.834 GB, free: 88.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002528/7.964, allocations: 270.5 kB / 4.834 GB, free: 88.85 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05411/8.018, allocations: 31.27 MB / 4.865 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008484/8.027, allocations: 4.676 MB / 4.869 GB, free: 66.65 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004247/8.031, allocations: 2.614 MB / 4.872 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/8.033, allocations: 2.413 MB / 4.874 GB, free: 62.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004969/8.038, allocations: 2.805 MB / 4.877 GB, free: 61.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 7.354e-06/8.038, allocations: 3.406 kB / 4.877 GB, free: 61.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.02176/8.06, allocations: 6.162 MB / 4.883 GB, free: 56.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/8.06, allocations: 377.4 kB / 4.883 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/8.067, allocations: 4.593 MB / 4.888 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/8.068, allocations: 29.7 kB / 4.888 GB, free: 51.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002205/8.071, allocations: 2.109 MB / 4.89 GB, free: 49.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/8.073, allocations: 1.37 MB / 4.891 GB, free: 48.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/8.073, allocations: 0 / 4.891 GB, free: 48.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002177/8.074, allocations: 490.1 kB / 4.892 GB, free: 47.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/8.077, allocations: 2.082 MB / 4.894 GB, free: 45.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/8.08, allocations: 3.028 MB / 4.897 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/8.096, allocations: 3.936 MB / 4.901 GB, free: 38.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.028e-05/8.096, allocations: 4 kB / 4.901 GB, free: 38.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02685/8.123, allocations: 7.121 MB / 4.908 GB, free: 31.15 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001911/8.125, allocations: 10.57 MB / 4.918 GB, free: 19.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/8.125, allocations: 20 kB / 4.918 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.059e-05/8.125, allocations: 48 kB / 4.918 GB, free: 19.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007716/8.133, allocations: 1.283 MB / 4.919 GB, free: 18.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.772e-05/8.133, allocations: 63.3 kB / 4.919 GB, free: 18.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008625/8.142, allocations: 0.674 MB / 4.92 GB, free: 17.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/8.143, allocations: 223.8 kB / 4.92 GB, free: 17.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/8.143, allocations: 6.344 kB / 4.92 GB, free: 17.36 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02296/8.166, allocations: 6.547 MB / 4.926 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.834e-05/8.166, allocations: 24 kB / 4.927 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.912e-05/8.166, allocations: 44.09 kB / 4.927 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007237/8.173, allocations: 1.279 MB / 4.928 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.622e-05/8.174, allocations: 55.86 kB / 4.928 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007786/8.181, allocations: 0.6132 MB / 4.928 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/8.183, allocations: 227.8 kB / 4.929 GB, free: 8.559 MB / 0.8855 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 (562): * Single equations (assignments): 562 * 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.001923/8.184, allocations: 211.7 kB / 4.929 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002407/8.187, allocations: 0.5479 MB / 4.929 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/8.213, allocations: 7.431 MB / 4.937 GB, free: 360 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/8.213, allocations: 44 kB / 4.937 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/8.214, allocations: 4 kB / 4.937 GB, free: 312 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02224/8.236, allocations: 5.807 MB / 4.942 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04064/8.276, allocations: 14.51 MB / 4.957 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/8.277, allocations: 8 kB / 4.957 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006212/8.283, allocations: 1.045 MB / 4.958 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.576e-05/8.283, allocations: 27.91 kB / 4.958 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/8.283, allocations: 103.7 kB / 4.958 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-05/8.283, allocations: 23.94 kB / 4.958 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-05/8.283, allocations: 8 kB / 4.958 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3161/8.599, allocations: 10.73 MB / 4.968 GB, free: 213.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004377/8.604, allocations: 1.598 MB / 4.97 GB, free: 213.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/8.605, allocations: 28.08 kB / 4.97 GB, free: 213.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00565/8.611, allocations: 426.9 kB / 4.97 GB, free: 213.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/8.611, allocations: 248 kB / 4.97 GB, free: 213.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004694/8.612, allocations: 197.5 kB / 4.971 GB, free: 213.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.005095/8.617, allocations: 3.546 MB / 4.974 GB, free: 213.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008549/8.625, allocations: 3.489 MB / 4.978 GB, free: 213.5 MB / 0.9167 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 (447): * Single equations (assignments): 437 * 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.002576/8.628, allocations: 1.529 MB / 4.979 GB, free: 213.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01077/8.639, allocations: 8.246 MB / 4.987 GB, free: 213.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/8.639, allocations: 4.438 kB / 4.987 GB, free: 213.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/8.642, allocations: 2.567 MB / 4.99 GB, free: 213.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/8.653, allocations: 2.436 MB / 4.992 GB, free: 213.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/8.673, allocations: 11.62 MB / 5.003 GB, free: 210.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005836/8.679, allocations: 5.083 MB / 5.008 GB, free: 210.1 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/8.679, allocations: 3.406 kB / 5.008 GB, free: 210.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.2053/8.884, allocations: 154.2 MB / 5.159 GB, free: 196.7 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches