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.597/2.597, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.002034/0.002034, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.773/1.773, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001365/0.001365, allocations: 100.2 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.000518, allocations: 9.719 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.361, allocations: 2.201 GB / 3.424 GB, free: 250.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/6.361, allocations: 104.7 kB / 3.424 GB, free: 250.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.944/14.3, allocations: 2.145 GB / 5.569 GB, free: 233.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/14.3, allocations: 0 / 5.569 GB, free: 233.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002335/14.31, allocations: 323.9 kB / 5.569 GB, free: 233.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: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.05519/14.36, allocations: 11.88 MB / 5.581 GB, free: 229.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/14.36, allocations: 15.44 kB / 5.581 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/14.38, allocations: 2.086 MB / 5.583 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04721/14.43, allocations: 15.28 MB / 5.598 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009813/14.43, allocations: 0.6515 MB / 5.599 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005705/14.43, allocations: 0.8749 MB / 5.599 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04822/14.48, allocations: 13.3 MB / 5.612 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006607/14.48, allocations: 34.39 kB / 5.612 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004621/14.49, allocations: 392.1 kB / 5.613 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005464/14.49, allocations: 464.5 kB / 5.613 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03815/14.53, allocations: 11.92 MB / 5.625 GB, free: 226 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.124/14.65, allocations: 50.94 MB / 5.675 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/14.67, allocations: 8.204 MB / 5.683 GB, free: 199.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/14.67, allocations: 1.504 MB / 5.684 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01226/14.68, allocations: 4.236 MB / 5.688 GB, free: 196.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 1.117e-05/14.68, allocations: 0 / 5.688 GB, free: 196.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.03311/14.72, allocations: 10.66 MB / 5.699 GB, free: 192.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/14.72, allocations: 342.1 kB / 5.699 GB, free: 192.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02932/14.75, allocations: 9.196 MB / 5.708 GB, free: 188.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002848/14.75, allocations: 141.7 kB / 5.708 GB, free: 188.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01092/14.76, allocations: 5.017 MB / 5.713 GB, free: 184.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00552/14.77, allocations: 1.932 MB / 5.715 GB, free: 182.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002874/14.77, allocations: 138.8 kB / 5.715 GB, free: 182.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001575/14.77, allocations: 0.5778 MB / 5.716 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01141/14.78, allocations: 3.582 MB / 5.719 GB, free: 178.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/14.79, allocations: 5.454 MB / 5.724 GB, free: 173.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/14.8, allocations: 4.582 MB / 5.729 GB, free: 169.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.423e-05/14.81, allocations: 16 kB / 5.729 GB, free: 169.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02837/14.83, allocations: 10.16 MB / 5.739 GB, free: 160 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006065/14.84, allocations: 28.83 MB / 5.767 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/14.84, allocations: 56 kB / 5.767 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/14.84, allocations: 95.56 kB / 5.767 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/14.85, allocations: 1.852 MB / 5.769 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002786/14.85, allocations: 123 kB / 5.769 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0167/14.87, allocations: 1.248 MB / 5.77 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/14.87, allocations: 335.8 kB / 5.771 GB, free: 125.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/14.87, allocations: 4 kB / 5.771 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02603/14.9, allocations: 9.381 MB / 5.78 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002266/14.9, allocations: 52 kB / 5.78 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/14.9, allocations: 96 kB / 5.78 GB, free: 116.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/14.91, allocations: 1.845 MB / 5.782 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000214/14.91, allocations: 123.6 kB / 5.782 GB, free: 114.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01443/14.92, allocations: 1.121 MB / 5.783 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003168/14.92, allocations: 339.9 kB / 5.783 GB, free: 112.8 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 () * Number of clocked 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.01435/14.94, allocations: 4.032 MB / 5.787 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005912/14.95, allocations: 0.8993 MB / 5.788 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02949/14.97, allocations: 8.776 MB / 5.797 GB, free: 99.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/14.97, allocations: 56 kB / 5.797 GB, free: 99 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/14.97, allocations: 0 / 5.797 GB, free: 99 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01605/14.99, allocations: 6.869 MB / 5.803 GB, free: 92.04 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05877/15.05, allocations: 20.2 MB / 5.823 GB, free: 71.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/15.05, allocations: 4 kB / 5.823 GB, free: 71.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007742/15.06, allocations: 1.329 MB / 5.824 GB, free: 70.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/15.06, allocations: 23.84 kB / 5.824 GB, free: 70.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001626/15.06, allocations: 175.8 kB / 5.825 GB, free: 70.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.656e-05/15.06, allocations: 23.94 kB / 5.825 GB, free: 70.15 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/15.06, allocations: 0 / 5.825 GB, free: 70.15 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03108/15.09, allocations: 12.94 MB / 5.837 GB, free: 57.03 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01176/15.1, allocations: 2.464 MB / 5.84 GB, free: 54.54 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005553/15.11, allocations: 120 kB / 5.84 GB, free: 54.42 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/15.12, allocations: 0.7171 MB / 5.841 GB, free: 53.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001835/15.12, allocations: 328 kB / 5.841 GB, free: 53.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002311/15.13, allocations: 287.7 kB / 5.841 GB, free: 53.09 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01883/15.14, allocations: 7.219 MB / 5.848 GB, free: 45.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.21e-07/15.14, allocations: 0 / 5.848 GB, free: 45.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03199/15.18, allocations: 5.66 MB / 5.854 GB, free: 40.24 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) * Number of clocked states: 0 () * 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.006248/15.18, allocations: 1.515 MB / 5.855 GB, free: 39.32 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03295/15.22, allocations: 13.27 MB / 5.868 GB, free: 26.01 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.258e-05/15.22, allocations: 11.25 kB / 5.868 GB, free: 26 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.009931/15.23, allocations: 3.819 MB / 5.872 GB, free: 22.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02989/15.26, allocations: 5.589 MB / 5.877 GB, free: 16.87 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.818/16.07, allocations: 27.32 MB / 5.904 GB, free: 210.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02444/16.1, allocations: 7.195 MB / 5.911 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03939/16.14, allocations: 6.041 MB / 5.917 GB, free: 209.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008907/16.15, allocations: 0.8684 MB / 5.918 GB, free: 209.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.535e-06/16.15, allocations: 0 / 5.918 GB, free: 209.9 MB / 1.167 GB Notification: Performance of Templates: time 0.3072/16.45, allocations: 191 MB / 6.104 GB, free: 169.5 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