Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001017/0.001017, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.59/1.59, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0009118/0.0009121, allocations: 89.8 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.983e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/6.019, allocations: 2.201 GB / 3.413 GB, free: 99.69 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/6.019, allocations: 92.61 kB / 3.413 GB, free: 99.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.151/15.17, allocations: 2.14 GB / 5.553 GB, free: 140.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.926e-06/15.17, allocations: 0 / 5.553 GB, free: 140.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002585/15.17, allocations: 323.6 kB / 5.554 GB, free: 140 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: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.04273/15.22, allocations: 9.695 MB / 5.563 GB, free: 130.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/15.22, allocations: 8.031 kB / 5.563 GB, free: 130.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/15.23, allocations: 2.08 MB / 5.565 GB, free: 128.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0496/15.28, allocations: 15.2 MB / 5.58 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/15.28, allocations: 0.6501 MB / 5.581 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006125/15.29, allocations: 0.8748 MB / 5.581 GB, free: 111.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04608/15.34, allocations: 12.82 MB / 5.594 GB, free: 98.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007136/15.34, allocations: 31.72 kB / 5.594 GB, free: 98.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004968/15.34, allocations: 388 kB / 5.594 GB, free: 97.72 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004158/15.34, allocations: 469.1 kB / 5.595 GB, free: 97.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0319/15.38, allocations: 11.06 MB / 5.606 GB, free: 86.18 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1126/15.49, allocations: 50.93 MB / 5.655 GB, free: 33.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/15.5, allocations: 7.654 MB / 5.663 GB, free: 25.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006317/15.51, allocations: 4.085 MB / 5.667 GB, free: 21.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/15.51, allocations: 1.498 MB / 5.668 GB, free: 19.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007637/15.52, allocations: 3.931 MB / 5.672 GB, free: 15.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=554): time 9.839e-06/15.52, allocations: 0 / 5.672 GB, free: 15.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=554): time 0.01555/15.53, allocations: 7.01 MB / 5.679 GB, free: 8.844 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/15.53, allocations: 347 kB / 5.679 GB, free: 8.434 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0203/15.55, allocations: 9.105 MB / 5.688 GB, free: 15.37 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002316/15.55, allocations: 141.6 kB / 5.688 GB, free: 15.23 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008603/15.56, allocations: 5.026 MB / 5.693 GB, free: 10.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004504/15.57, allocations: 1.934 MB / 5.695 GB, free: 8.199 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007732/15.57, allocations: 136 kB / 5.695 GB, free: 8.066 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006401/15.57, allocations: 0.5714 MB / 5.696 GB, free: 7.488 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006094/15.58, allocations: 3.273 MB / 5.699 GB, free: 4.211 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9631/16.54, allocations: 5.134 MB / 5.704 GB, free: 216.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/16.55, allocations: 4.294 MB / 5.708 GB, free: 216.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/16.55, allocations: 15.97 kB / 5.708 GB, free: 216.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.03244/16.58, allocations: 9.53 MB / 5.718 GB, free: 216.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01285/16.6, allocations: 28.83 MB / 5.746 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004931/16.6, allocations: 54.16 kB / 5.746 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/16.6, allocations: 95 kB / 5.746 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01321/16.61, allocations: 1.845 MB / 5.748 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/16.61, allocations: 119.9 kB / 5.748 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/16.62, allocations: 1.249 MB / 5.749 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/16.63, allocations: 333.1 kB / 5.749 GB, free: 186.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/16.63, allocations: 8.766 kB / 5.749 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02294/16.65, allocations: 8.759 MB / 5.758 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/16.65, allocations: 53.84 kB / 5.758 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/16.65, allocations: 94.16 kB / 5.758 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/16.66, allocations: 1.836 MB / 5.76 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003078/16.66, allocations: 127.4 kB / 5.76 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01348/16.68, allocations: 1.129 MB / 5.761 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/16.68, allocations: 334.6 kB / 5.761 GB, free: 186.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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.003673/16.68, allocations: 0.5179 MB / 5.762 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003952/16.69, allocations: 0.9018 MB / 5.763 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/16.71, allocations: 8.171 MB / 5.771 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-05/16.71, allocations: 53.84 kB / 5.771 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/16.71, allocations: 3.125 kB / 5.771 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01416/16.72, allocations: 6.264 MB / 5.777 GB, free: 185.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06085/16.78, allocations: 19.6 MB / 5.796 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/16.78, allocations: 2.906 kB / 5.796 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008342/16.79, allocations: 1.33 MB / 5.797 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/16.79, allocations: 18.5 kB / 5.797 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001778/16.79, allocations: 177.7 kB / 5.798 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/16.79, allocations: 19.81 kB / 5.798 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/16.79, allocations: 4.531 kB / 5.798 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/16.82, allocations: 12.02 MB / 5.809 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01066/16.83, allocations: 2.461 MB / 5.812 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006251/16.83, allocations: 127.9 kB / 5.812 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01416/16.85, allocations: 0.7086 MB / 5.812 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002249/16.85, allocations: 334.2 kB / 5.813 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0027/16.85, allocations: 291.4 kB / 5.813 GB, free: 182.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02211/16.87, allocations: 7.133 MB / 5.82 GB, free: 182 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.92e-07/16.87, allocations: 3.656 kB / 5.82 GB, free: 182 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04047/16.91, allocations: 5.654 MB / 5.826 GB, free: 181.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (575): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.007405/16.92, allocations: 1.442 MB / 5.827 GB, free: 181.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03343/16.96, allocations: 12.62 MB / 5.839 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.212e-05/16.96, allocations: 10.72 kB / 5.839 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.009541/16.96, allocations: 3.516 MB / 5.843 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03429/17, allocations: 5.589 MB / 5.848 GB, free: 181.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/17.05, allocations: 20.16 MB / 5.868 GB, free: 177.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/17.07, allocations: 7.204 MB / 5.875 GB, free: 176.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04664/17.11, allocations: 9.638 MB / 5.884 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005759/17.12, allocations: 0.6807 MB / 5.885 GB, free: 174.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.184e-06/17.12, allocations: 3.828 kB / 5.885 GB, free: 174.8 MB / 1.167 GB Notification: Performance of Templates: time 0.3311/17.45, allocations: 205.3 MB / 6.085 GB, free: 37.15 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches