Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.195/2.195, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009628/0.0009628, allocations: 180.5 kB / 487.4 MB, free: 5.047 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0009852/0.0009851, allocations: 103.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.237e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.878/6.16, allocations: 2.197 GB / 3.404 GB, free: 124.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/6.16, allocations: 87.95 kB / 3.404 GB, free: 124.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.54/22.7, allocations: 4.221 GB / 7.625 GB, free: 135.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.464e-06/22.7, allocations: 1.094 kB / 7.625 GB, free: 135.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004177/22.71, allocations: 0.5964 MB / 7.626 GB, free: 135.8 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 0.06945/22.78, allocations: 18.21 MB / 7.643 GB, free: 129.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/22.78, allocations: 14.03 kB / 7.643 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02792/22.8, allocations: 3.793 MB / 7.647 GB, free: 128.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0796/22.88, allocations: 29.7 MB / 7.676 GB, free: 125.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/22.88, allocations: 0.5317 MB / 7.677 GB, free: 125.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007695/22.89, allocations: 0.9802 MB / 7.678 GB, free: 125.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04759/22.94, allocations: 19.44 MB / 7.696 GB, free: 125.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06707/23.01, allocations: 22.4 MB / 7.718 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001288/23.01, allocations: 75.84 kB / 7.718 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007334/23.02, allocations: 33.19 kB / 7.718 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009092/23.02, allocations: 0.8851 MB / 7.719 GB, free: 123.1 MB / 1.198 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.1731/23.19, allocations: 95.86 MB / 7.813 GB, free: 86.41 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02329/23.21, allocations: 14.51 MB / 7.827 GB, free: 83.17 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/23.22, allocations: 7.518 MB / 7.834 GB, free: 80.35 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00266/23.23, allocations: 2.025 MB / 7.836 GB, free: 78.33 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01887/23.25, allocations: 7.539 MB / 7.844 GB, free: 75.75 MB / 1.198 GB Notification: Performance of pre-optimization done (n=1022): time 2.384e-05/23.25, allocations: 0 / 7.844 GB, free: 75.75 MB / 1.198 GB Notification: Performance of matching and sorting (n=1022): time 0.1443/23.39, allocations: 22.21 MB / 7.865 GB, free: 70.16 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/23.39, allocations: 414 kB / 7.866 GB, free: 69.78 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03561/23.43, allocations: 15.06 MB / 7.881 GB, free: 61.77 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00311/23.43, allocations: 41.7 kB / 7.881 GB, free: 61.72 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01331/23.44, allocations: 9.674 MB / 7.89 GB, free: 52.96 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.006473/23.45, allocations: 3.442 MB / 7.893 GB, free: 49.78 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002721/23.45, allocations: 1.125 kB / 7.893 GB, free: 49.78 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001573/23.45, allocations: 0.8318 MB / 7.894 GB, free: 49.09 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/23.46, allocations: 6.032 MB / 7.9 GB, free: 43.81 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01429/23.48, allocations: 9.572 MB / 7.909 GB, free: 33.69 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.125/23.6, allocations: 17.64 MB / 7.927 GB, free: 20.68 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/23.6, allocations: 35.95 kB / 7.927 GB, free: 20.65 MB / 1.198 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.154/23.76, allocations: 26.63 MB / 7.953 GB, free: 15.82 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.8004/24.56, allocations: 68.86 MB / 8.02 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000434/24.56, allocations: 106 kB / 8.02 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/24.56, allocations: 187.5 kB / 8.02 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01942/24.58, allocations: 3.49 MB / 8.024 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003717/24.58, allocations: 238.9 kB / 8.024 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02495/24.6, allocations: 1.949 MB / 8.026 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003937/24.61, allocations: 0.619 MB / 8.026 GB, free: 129.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/24.61, allocations: 3.781 kB / 8.026 GB, free: 129.2 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1477/24.76, allocations: 24.99 MB / 8.051 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/24.76, allocations: 108.4 kB / 8.051 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/24.76, allocations: 190.1 kB / 8.051 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01869/24.78, allocations: 3.485 MB / 8.055 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004481/24.78, allocations: 241.2 kB / 8.055 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02379/24.8, allocations: 1.692 MB / 8.056 GB, free: 129 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005353/24.81, allocations: 0.6198 MB / 8.057 GB, free: 129 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.007874/24.81, allocations: 470.5 kB / 8.057 GB, free: 128.8 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1426/24.96, allocations: 22.19 MB / 8.079 GB, free: 128.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008224/24.96, allocations: 1.559 MB / 8.081 GB, free: 127.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1399/25.1, allocations: 23.98 MB / 8.104 GB, free: 127.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.908e-05/25.1, allocations: 101.1 kB / 8.104 GB, free: 127.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/25.1, allocations: 0 / 8.104 GB, free: 127.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1258/25.23, allocations: 20.86 MB / 8.125 GB, free: 126.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.187/25.42, allocations: 44.24 MB / 8.168 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/25.42, allocations: 17.84 kB / 8.168 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01421/25.43, allocations: 2.474 MB / 8.17 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/25.43, allocations: 52.34 kB / 8.17 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002712/25.43, allocations: 225.3 kB / 8.17 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.755e-05/25.43, allocations: 74.88 kB / 8.171 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/25.43, allocations: 25.03 kB / 8.171 GB, free: 124.2 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1483/25.58, allocations: 37.11 MB / 8.207 GB, free: 114.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01651/25.6, allocations: 4.443 MB / 8.211 GB, free: 113.8 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007901/25.61, allocations: 83.64 kB / 8.211 GB, free: 113.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02001/25.63, allocations: 1.017 MB / 8.212 GB, free: 113.6 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004454/25.63, allocations: 0.6248 MB / 8.213 GB, free: 113.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004363/25.64, allocations: 0.5495 MB / 8.213 GB, free: 113.6 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02955/25.67, allocations: 11.57 MB / 8.225 GB, free: 113.2 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.31e-07/25.67, allocations: 0 / 8.225 GB, free: 113.2 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0508/25.72, allocations: 10.36 MB / 8.235 GB, free: 112 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.166/25.88, allocations: 39.76 MB / 8.274 GB, free: 101.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0438/25.93, allocations: 22.79 MB / 8.296 GB, free: 96.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.565e-05/25.93, allocations: 18.3 kB / 8.296 GB, free: 96.58 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01208/25.94, allocations: 6.272 MB / 8.302 GB, free: 93.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05021/25.99, allocations: 9.319 MB / 8.311 GB, free: 87.89 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/26.1, allocations: 44.49 MB / 8.355 GB, free: 50.1 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02923/26.13, allocations: 13.34 MB / 8.368 GB, free: 40.42 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06938/26.2, allocations: 16.42 MB / 8.384 GB, free: 29.5 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02169/26.22, allocations: 8.895 MB / 8.392 GB, free: 21.33 MB / 1.229 GB Notification: Performance of SimCode: time 1.933e-06/26.22, allocations: 2.734 kB / 8.392 GB, free: 21.33 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/28.53, allocations: 488.2 MB / 8.869 GB, free: 13.87 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/28.53, allocations: 184.1 kB / 8.869 GB, free: 13.68 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.79/56.32, allocations: 0 / 8.869 GB, free: 13.68 MB / 1.292 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat