Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.587/2.587, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.00119/0.00119, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.526/1.526, allocations: 221.3 MB / 0.7871 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.0009339/0.000934, allocations: 103.3 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.582e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.543/5.799, allocations: 2.202 GB / 3.414 GB, free: 74.68 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/5.8, allocations: 87.58 kB / 3.414 GB, free: 74.63 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.64/24.44, allocations: 4.246 GB / 7.66 GB, free: 146.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.845e-06/24.44, allocations: 0 / 7.66 GB, free: 146.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005124/24.45, allocations: 0.6057 MB / 7.66 GB, free: 146 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.07243/24.52, allocations: 18.36 MB / 7.678 GB, free: 139.4 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/24.52, allocations: 10.88 kB / 7.678 GB, free: 139.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03065/24.55, allocations: 4.008 MB / 7.682 GB, free: 138.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0951/24.64, allocations: 29.83 MB / 7.711 GB, free: 135.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002862/24.65, allocations: 1.257 MB / 7.713 GB, free: 135.4 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01217/24.66, allocations: 1.687 MB / 7.714 GB, free: 135.4 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08644/24.75, allocations: 24.91 MB / 7.739 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00161/24.75, allocations: 68.42 kB / 7.739 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009822/24.76, allocations: 0.7255 MB / 7.739 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001117/24.76, allocations: 0.8908 MB / 7.74 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06043/24.82, allocations: 21.15 MB / 7.761 GB, free: 132.5 MB / 1.214 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.1989/25.02, allocations: 99.53 MB / 7.858 GB, free: 80.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02747/25.05, allocations: 15.05 MB / 7.873 GB, free: 70.81 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01868/25.06, allocations: 7.94 MB / 7.881 GB, free: 63.65 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003119/25.07, allocations: 2.024 MB / 7.883 GB, free: 61.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02044/25.09, allocations: 7.505 MB / 7.89 GB, free: 55.39 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 2.578e-05/25.09, allocations: 0 / 7.89 GB, free: 55.39 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.04145/25.13, allocations: 13.36 MB / 7.903 GB, free: 43.55 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/25.13, allocations: 424.5 kB / 7.903 GB, free: 43.06 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04551/25.18, allocations: 17.59 MB / 7.92 GB, free: 27.84 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00406/25.18, allocations: 241.7 kB / 7.921 GB, free: 27.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01829/25.2, allocations: 9.893 MB / 7.93 GB, free: 18.63 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007657/25.21, allocations: 3.632 MB / 7.934 GB, free: 15.34 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003302/25.21, allocations: 260 kB / 7.934 GB, free: 15.09 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001805/25.21, allocations: 0.8378 MB / 7.935 GB, free: 14.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01376/25.22, allocations: 6.342 MB / 7.941 GB, free: 8.809 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0173/25.24, allocations: 9.982 MB / 7.951 GB, free: 14.22 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/25.26, allocations: 8.335 MB / 7.959 GB, free: 7.223 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/25.26, allocations: 28 kB / 7.959 GB, free: 7.195 MB / 1.229 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 1.072/26.33, allocations: 18.44 MB / 7.977 GB, free: 165.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.02043/26.35, allocations: 73.37 MB / 8.049 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005005/26.35, allocations: 105.6 kB / 8.049 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/26.35, allocations: 191.8 kB / 8.049 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02051/26.37, allocations: 3.55 MB / 8.053 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005643/26.37, allocations: 244.4 kB / 8.053 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02591/26.4, allocations: 2.415 MB / 8.055 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004634/26.41, allocations: 0.63 MB / 8.056 GB, free: 105.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/26.41, allocations: 3.562 kB / 8.056 GB, free: 105.3 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04803/26.45, allocations: 16.96 MB / 8.072 GB, free: 105 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005845/26.45, allocations: 105.6 kB / 8.072 GB, free: 105 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/26.45, allocations: 193.4 kB / 8.073 GB, free: 105 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/26.47, allocations: 3.548 MB / 8.076 GB, free: 105 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005916/26.47, allocations: 247.2 kB / 8.076 GB, free: 105 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02675/26.5, allocations: 2.171 MB / 8.078 GB, free: 104.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005115/26.51, allocations: 0.6272 MB / 8.079 GB, free: 104.8 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1659): * Single equations (assignments): 1659 * 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.009274/26.52, allocations: 0.903 MB / 8.08 GB, free: 104.7 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01023/26.53, allocations: 1.716 MB / 8.082 GB, free: 103.8 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0583/26.58, allocations: 15.42 MB / 8.097 GB, free: 103.2 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001498/26.58, allocations: 111.7 kB / 8.097 GB, free: 103.2 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/26.58, allocations: 1.594 kB / 8.097 GB, free: 103.2 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03569/26.62, allocations: 11.91 MB / 8.108 GB, free: 102.9 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1123/26.73, allocations: 37.57 MB / 8.145 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.283e-05/26.73, allocations: 0 / 8.145 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0148/26.75, allocations: 2.508 MB / 8.147 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/26.75, allocations: 40.19 kB / 8.148 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003454/26.75, allocations: 334.3 kB / 8.148 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001487/26.75, allocations: 34.91 kB / 8.148 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/26.75, allocations: 1.031 kB / 8.148 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05652/26.81, allocations: 22.96 MB / 8.17 GB, free: 98.61 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01861/26.83, allocations: 4.622 MB / 8.175 GB, free: 97.62 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01044/26.84, allocations: 224.6 kB / 8.175 GB, free: 97.62 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02729/26.86, allocations: 1.365 MB / 8.176 GB, free: 97.57 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004877/26.87, allocations: 0.5824 MB / 8.177 GB, free: 97.56 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005564/26.87, allocations: 0.5437 MB / 8.177 GB, free: 97.56 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03456/26.91, allocations: 13.8 MB / 8.191 GB, free: 97.01 MB / 1.245 GB Notification: Performance of sort global known variables: time 9.42e-07/26.91, allocations: 0 / 8.191 GB, free: 97.01 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.05561/26.96, allocations: 10.8 MB / 8.201 GB, free: 96 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.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 (1062): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01288/26.98, allocations: 1.893 MB / 8.203 GB, free: 95.82 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.06868/27.05, allocations: 24.35 MB / 8.227 GB, free: 95.46 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 3.981e-05/27.05, allocations: 20.45 kB / 8.227 GB, free: 95.45 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01716/27.06, allocations: 6.647 MB / 8.234 GB, free: 95.29 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07722/27.14, allocations: 10.95 MB / 8.244 GB, free: 95.07 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1404/27.28, allocations: 39.62 MB / 8.283 GB, free: 84.84 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03482/27.32, allocations: 13.41 MB / 8.296 GB, free: 97.1 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.07693/27.39, allocations: 18.12 MB / 8.314 GB, free: 86.74 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009554/27.4, allocations: 1.271 MB / 8.315 GB, free: 85.63 MB / 1.261 GB Notification: Performance of SimCode: time 1.913e-06/27.4, allocations: 4 kB / 8.315 GB, free: 85.63 MB / 1.261 GB Notification: Performance of Templates: time 1.688/29.09, allocations: 395.4 MB / 8.701 GB, free: 144.9 MB / 1.261 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches