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.039/2.039, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009642/0.0009642, allocations: 176.9 kB / 487.4 MB, free: 5.023 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.36/1.36, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0008389/0.0008389, allocations: 97.34 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.553e-05, allocations: 6.109 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.892/5.148, allocations: 2.2 GB / 3.406 GB, free: 122.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/5.148, allocations: 92.98 kB / 3.406 GB, free: 122.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.184/12.33, allocations: 2.13 GB / 5.536 GB, free: 188.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/12.33, allocations: 0 / 5.536 GB, free: 188.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002137/12.33, allocations: 320.1 kB / 5.536 GB, free: 187.8 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.0311/12.37, allocations: 9.686 MB / 5.545 GB, free: 178.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/12.37, allocations: 12.56 kB / 5.545 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/12.38, allocations: 2.09 MB / 5.547 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03962/12.42, allocations: 15.21 MB / 5.562 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006055/12.42, allocations: 284 kB / 5.563 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003871/12.43, allocations: 0.5114 MB / 5.563 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02326/12.45, allocations: 10.31 MB / 5.573 GB, free: 149.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/12.48, allocations: 11.54 MB / 5.584 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005611/12.48, allocations: 35.67 kB / 5.584 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00336/12.49, allocations: 24 kB / 5.584 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/12.49, allocations: 465.1 kB / 5.585 GB, free: 137.3 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.07864/12.56, allocations: 49.15 MB / 5.633 GB, free: 86.98 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009439/12.57, allocations: 7.377 MB / 5.64 GB, free: 79.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/12.58, allocations: 3.909 MB / 5.644 GB, free: 75.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/12.58, allocations: 1.506 MB / 5.645 GB, free: 73.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005152/12.59, allocations: 3.739 MB / 5.649 GB, free: 70.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=554): time 6.793e-06/12.59, allocations: 4 kB / 5.649 GB, free: 70.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=554): time 0.06545/12.65, allocations: 11.47 MB / 5.66 GB, free: 58.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/12.65, allocations: 347.1 kB / 5.661 GB, free: 58.17 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/12.66, allocations: 7.823 MB / 5.668 GB, free: 50.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00185/12.67, allocations: 37.69 kB / 5.668 GB, free: 50.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.005073/12.67, allocations: 5.024 MB / 5.673 GB, free: 45.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002984/12.67, allocations: 1.86 MB / 5.675 GB, free: 43.36 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005215/12.67, allocations: 0 / 5.675 GB, free: 43.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003748/12.68, allocations: 0.5831 MB / 5.676 GB, free: 42.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/12.68, allocations: 3.137 MB / 5.679 GB, free: 39.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004712/12.68, allocations: 4.969 MB / 5.683 GB, free: 33.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1494/12.83, allocations: 16.14 MB / 5.699 GB, free: 17.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.018e-05/12.83, allocations: 16 kB / 5.699 GB, free: 17.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.9705/13.8, allocations: 20.84 MB / 5.72 GB, free: 219 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006307/13.81, allocations: 27.74 MB / 5.747 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002526/13.81, allocations: 54.66 kB / 5.747 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/13.81, allocations: 97.09 kB / 5.747 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0185/13.83, allocations: 1.84 MB / 5.749 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004826/13.83, allocations: 128.1 kB / 5.749 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01881/13.85, allocations: 1.013 MB / 5.75 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/13.85, allocations: 334.2 kB / 5.75 GB, free: 190.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/13.85, allocations: 6.781 kB / 5.75 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1639/14.02, allocations: 20 MB / 5.77 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/14.02, allocations: 53.09 kB / 5.77 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/14.02, allocations: 95.62 kB / 5.77 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009212/14.02, allocations: 1.846 MB / 5.772 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002448/14.03, allocations: 126.7 kB / 5.772 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/14.04, allocations: 0.8973 MB / 5.773 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/14.04, allocations: 332.8 kB / 5.773 GB, free: 190.1 MB / 1.151 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.004147/14.04, allocations: 301.2 kB / 5.773 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004737/14.05, allocations: 0.8174 MB / 5.774 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08012/14.13, allocations: 12.5 MB / 5.786 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/14.13, allocations: 56.84 kB / 5.786 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/14.13, allocations: 3.953 kB / 5.786 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06636/14.19, allocations: 10.8 MB / 5.797 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09908/14.29, allocations: 22.92 MB / 5.819 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/14.29, allocations: 7.281 kB / 5.819 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006952/14.3, allocations: 1.325 MB / 5.82 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.469e-05/14.3, allocations: 26.52 kB / 5.82 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009599/14.3, allocations: 115.1 kB / 5.821 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/14.3, allocations: 21.78 kB / 5.821 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/14.3, allocations: 3.75 kB / 5.821 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07567/14.38, allocations: 16.37 MB / 5.837 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008965/14.39, allocations: 2.366 MB / 5.839 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006275/14.39, allocations: 37.34 kB / 5.839 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01299/14.41, allocations: 0.6129 MB / 5.84 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001754/14.41, allocations: 332.8 kB / 5.84 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001999/14.41, allocations: 291.9 kB / 5.84 GB, free: 186.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0134/14.42, allocations: 5.996 MB / 5.846 GB, free: 186 MB / 1.151 GB Notification: Performance of sort global known variables: time 4e-07/14.42, allocations: 0 / 5.846 GB, free: 186 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.02994/14.45, allocations: 5.446 MB / 5.851 GB, free: 185.5 MB / 1.151 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.005091/14.46, allocations: 1.276 MB / 5.853 GB, free: 185.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02355/14.48, allocations: 12.02 MB / 5.864 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/14.48, allocations: 14.16 kB / 5.864 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006136/14.49, allocations: 3.398 MB / 5.868 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02629/14.51, allocations: 4.763 MB / 5.872 GB, free: 184.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/14.57, allocations: 19.62 MB / 5.891 GB, free: 180.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01426/14.58, allocations: 7.205 MB / 5.898 GB, free: 179.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.03915/14.62, allocations: 8.812 MB / 5.907 GB, free: 177.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006586/14.63, allocations: 0.6503 MB / 5.908 GB, free: 177.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.928e-06/14.63, allocations: 0 / 5.908 GB, free: 177.7 MB / 1.151 GB Notification: Performance of Templates: time 0.2638/14.89, allocations: 170.3 MB / 6.074 GB, free: 47.88 MB / 1.151 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