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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001007/0.001007, allocations: 184.8 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.547/1.547, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0007984/0.0007983, allocations: 90.77 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.23e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.363, allocations: 2.202 GB / 3.414 GB, free: 98.36 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/5.363, allocations: 100.7 kB / 3.414 GB, free: 98.27 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.65/23.01, allocations: 4.246 GB / 7.66 GB, free: 146.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.483e-06/23.01, allocations: 0 / 7.66 GB, free: 146.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004543/23.01, allocations: 0.6058 MB / 7.661 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.06438/23.08, allocations: 18.37 MB / 7.678 GB, free: 139.5 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/23.08, allocations: 7.719 kB / 7.678 GB, free: 139.5 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01195/23.09, allocations: 2.34 MB / 7.681 GB, free: 139.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/23.12, allocations: 4.012 MB / 7.685 GB, free: 138.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08021/23.2, allocations: 29.84 MB / 7.714 GB, free: 135.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00181/23.2, allocations: 1.251 MB / 7.715 GB, free: 135.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008629/23.21, allocations: 1.683 MB / 7.717 GB, free: 135.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07308/23.28, allocations: 24.91 MB / 7.741 GB, free: 132.8 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001099/23.28, allocations: 68.3 kB / 7.741 GB, free: 132.8 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007062/23.29, allocations: 0.7251 MB / 7.742 GB, free: 132.8 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/23.29, allocations: 0.8892 MB / 7.743 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04871/23.34, allocations: 21.15 MB / 7.763 GB, free: 132.6 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.1694/23.51, allocations: 99.54 MB / 7.86 GB, free: 84.12 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/23.53, allocations: 15.05 MB / 7.875 GB, free: 77.79 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/23.54, allocations: 7.93 MB / 7.883 GB, free: 70.74 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002498/23.55, allocations: 2.037 MB / 7.885 GB, free: 68.48 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01398/23.56, allocations: 7.498 MB / 7.892 GB, free: 62.47 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.268e-05/23.56, allocations: 0 / 7.892 GB, free: 62.47 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.02949/23.59, allocations: 13.37 MB / 7.905 GB, free: 50.64 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/23.59, allocations: 424 kB / 7.906 GB, free: 50.15 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04275/23.63, allocations: 17.59 MB / 7.923 GB, free: 34.93 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003361/23.64, allocations: 241.7 kB / 7.923 GB, free: 34.69 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01206/23.65, allocations: 9.898 MB / 7.933 GB, free: 25.71 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005988/23.66, allocations: 3.629 MB / 7.936 GB, free: 22.43 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/23.66, allocations: 260 kB / 7.937 GB, free: 22.18 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000806/23.66, allocations: 0.8352 MB / 7.937 GB, free: 21.48 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009219/23.67, allocations: 6.339 MB / 7.944 GB, free: 15.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/23.68, allocations: 9.977 MB / 7.953 GB, free: 5.312 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/23.7, allocations: 8.576 MB / 7.962 GB, free: 14.91 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/23.7, allocations: 31.95 kB / 7.962 GB, free: 14.88 MB / 1.229 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.8159/24.51, allocations: 18.46 MB / 7.98 GB, free: 161.6 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01801/24.53, allocations: 73.37 MB / 8.051 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003871/24.53, allocations: 105.9 kB / 8.051 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/24.53, allocations: 193.8 kB / 8.052 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0197/24.55, allocations: 3.546 MB / 8.055 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004407/24.55, allocations: 245.2 kB / 8.055 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0233/24.58, allocations: 2.415 MB / 8.058 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003973/24.58, allocations: 0.6244 MB / 8.058 GB, free: 101.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/24.58, allocations: 3.438 kB / 8.058 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03844/24.62, allocations: 16.96 MB / 8.075 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003051/24.62, allocations: 106.5 kB / 8.075 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/24.62, allocations: 190.2 kB / 8.075 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01807/24.64, allocations: 3.553 MB / 8.079 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/24.64, allocations: 244 kB / 8.079 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0236/24.66, allocations: 2.173 MB / 8.081 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004178/24.66, allocations: 0.6265 MB / 8.082 GB, free: 101.3 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.007734/24.67, allocations: 0.8996 MB / 8.083 GB, free: 101.1 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008616/24.68, allocations: 1.72 MB / 8.084 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04752/24.73, allocations: 15.43 MB / 8.099 GB, free: 100.3 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001588/24.73, allocations: 103.8 kB / 8.099 GB, free: 100.3 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/24.73, allocations: 9.391 kB / 8.099 GB, free: 100.3 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02901/24.76, allocations: 11.9 MB / 8.111 GB, free: 99.93 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1043/24.86, allocations: 37.57 MB / 8.148 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/24.86, allocations: 2.781 kB / 8.148 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01487/24.88, allocations: 2.514 MB / 8.15 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/24.88, allocations: 37.56 kB / 8.15 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003568/24.88, allocations: 338 kB / 8.15 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001705/24.88, allocations: 33.75 kB / 8.151 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/24.88, allocations: 3.594 kB / 8.151 GB, free: 97.95 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05512/24.94, allocations: 22.96 MB / 8.173 GB, free: 95.69 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02453/24.96, allocations: 4.617 MB / 8.177 GB, free: 94.7 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0125/24.97, allocations: 228.7 kB / 8.178 GB, free: 94.7 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03357/25.01, allocations: 1.363 MB / 8.179 GB, free: 94.65 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003734/25.01, allocations: 0.5784 MB / 8.18 GB, free: 94.64 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005247/25.02, allocations: 0.5405 MB / 8.18 GB, free: 94.64 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.04418/25.06, allocations: 13.8 MB / 8.194 GB, free: 94.09 MB / 1.245 GB Notification: Performance of sort global known variables: time 2.184e-06/25.06, allocations: 0 / 8.194 GB, free: 94.09 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.06082/25.12, allocations: 10.8 MB / 8.204 GB, free: 92.83 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.05912/25.18, allocations: 25.4 MB / 8.229 GB, free: 106 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.04658/25.23, allocations: 24.35 MB / 8.253 GB, free: 105.7 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-05/25.23, allocations: 16.36 kB / 8.253 GB, free: 105.7 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/25.24, allocations: 6.646 MB / 8.259 GB, free: 105.6 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05169/25.29, allocations: 10.94 MB / 8.27 GB, free: 104.7 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/25.39, allocations: 45.84 MB / 8.315 GB, free: 88.85 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0214/25.41, allocations: 13.41 MB / 8.328 GB, free: 79.13 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.06487/25.48, allocations: 18.12 MB / 8.345 GB, free: 67.14 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01622/25.5, allocations: 9.069 MB / 8.354 GB, free: 58.8 MB / 1.261 GB Notification: Performance of SimCode: time 6.62e-07/25.5, allocations: 0 / 8.354 GB, free: 58.8 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.46/26.96, allocations: 0.5557 GB / 8.91 GB, free: 1.363 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/26.96, allocations: 223.4 kB / 8.91 GB, free: 1.133 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.49/56.44, allocations: 3.938 kB / 8.91 GB, free: 1.129 MB / 1.323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat does not exist to compare? outputFormat=mat