Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.174/2.174, allocations: 390.5 MB / 398 MB, free: 10.94 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.00115/0.00115, allocations: 187.4 kB / 491.2 MB, free: 1.547 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.7868 GB, free: 13.31 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.001034/0.001034, allocations: 93.94 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.912e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.535, allocations: 430.1 MB / 1.632 GB, free: 0.7539 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.536, allocations: 82.77 kB / 1.633 GB, free: 0.7148 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086/4.622, allocations: 0.7983 GB / 2.431 GB, free: 202.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/4.622, allocations: 0 / 2.431 GB, free: 202.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006614/4.623, allocations: 99.81 kB / 2.431 GB, free: 202.1 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01537/4.638, allocations: 3.488 MB / 2.434 GB, free: 198.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/4.638, allocations: 12.03 kB / 2.434 GB, free: 198.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/4.65, allocations: 1.614 MB / 2.436 GB, free: 197 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/4.665, allocations: 4.193 MB / 2.44 GB, free: 192.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/4.666, allocations: 95.94 kB / 2.44 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/4.667, allocations: 172 kB / 2.44 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007683/4.675, allocations: 3.44 MB / 2.444 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/4.682, allocations: 3.635 MB / 2.447 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/4.682, allocations: 4 kB / 2.447 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/4.682, allocations: 4 kB / 2.447 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/4.682, allocations: 133.7 kB / 2.447 GB, free: 185.2 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.02517/4.707, allocations: 15.1 MB / 2.462 GB, free: 169.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/4.71, allocations: 2.025 MB / 2.464 GB, free: 167.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/4.711, allocations: 1.221 MB / 2.465 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/4.713, allocations: 1.634 MB / 2.467 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/4.713, allocations: 63.81 kB / 2.467 GB, free: 164.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=164): time 3.968e-06/4.713, allocations: 0 / 2.467 GB, free: 164.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=164): time 0.1058/4.819, allocations: 10.58 MB / 2.477 GB, free: 153.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/4.819, allocations: 120.1 kB / 2.477 GB, free: 153.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/4.823, allocations: 2.375 MB / 2.48 GB, free: 151.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003535/4.823, allocations: 25.7 kB / 2.48 GB, free: 151.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009343/4.824, allocations: 1.673 MB / 2.481 GB, free: 149.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/4.824, allocations: 0.5466 MB / 2.482 GB, free: 149.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/4.825, allocations: 0 / 2.482 GB, free: 149.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000131/4.825, allocations: 398.2 kB / 2.482 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/4.826, allocations: 1.039 MB / 2.483 GB, free: 147.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/4.828, allocations: 1.52 MB / 2.485 GB, free: 145.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1952/5.023, allocations: 16.89 MB / 2.501 GB, free: 129 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/5.023, allocations: 4 kB / 2.501 GB, free: 129 MB / 1.151 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.1975/5.22, allocations: 18.5 MB / 2.519 GB, free: 110.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001313/5.222, allocations: 4.77 MB / 2.524 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/5.222, allocations: 8 kB / 2.524 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.419e-05/5.222, allocations: 28 kB / 2.524 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/5.226, allocations: 0.6903 MB / 2.525 GB, free: 104.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.912e-05/5.226, allocations: 27.94 kB / 2.525 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/5.232, allocations: 417.3 kB / 2.525 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/5.232, allocations: 123.9 kB / 2.525 GB, free: 104 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/5.232, allocations: 4 kB / 2.525 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1957/5.428, allocations: 18.2 MB / 2.543 GB, free: 85.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/5.428, allocations: 12 kB / 2.543 GB, free: 85.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/5.428, allocations: 24 kB / 2.543 GB, free: 85.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/5.432, allocations: 0.6907 MB / 2.544 GB, free: 85.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-05/5.432, allocations: 35.81 kB / 2.544 GB, free: 85.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/5.436, allocations: 365.9 kB / 2.544 GB, free: 84.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/5.437, allocations: 123.9 kB / 2.544 GB, free: 84.54 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 276 * 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.0006486/5.437, allocations: 152.4 kB / 2.544 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1038/5.541, allocations: 10.58 MB / 2.555 GB, free: 73.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/5.542, allocations: 272.6 kB / 2.555 GB, free: 73.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1069/5.649, allocations: 11.07 MB / 2.566 GB, free: 62.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/5.649, allocations: 16 kB / 2.566 GB, free: 62.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/5.649, allocations: 3.938 kB / 2.566 GB, free: 62.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1035/5.753, allocations: 10.37 MB / 2.576 GB, free: 51.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1096/5.862, allocations: 15.33 MB / 2.591 GB, free: 36.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/5.862, allocations: 11.73 kB / 2.591 GB, free: 36.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/5.865, allocations: 495.8 kB / 2.591 GB, free: 35.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/5.865, allocations: 12 kB / 2.591 GB, free: 35.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/5.866, allocations: 31.95 kB / 2.591 GB, free: 35.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/5.866, allocations: 15.98 kB / 2.591 GB, free: 35.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/5.866, allocations: 7.938 kB / 2.591 GB, free: 35.76 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1034/5.969, allocations: 12.35 MB / 2.603 GB, free: 23.16 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/5.971, allocations: 0.817 MB / 2.604 GB, free: 22.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/5.972, allocations: 12 kB / 2.604 GB, free: 22.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/5.975, allocations: 243.5 kB / 2.605 GB, free: 22.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/5.975, allocations: 105.1 kB / 2.605 GB, free: 21.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/5.975, allocations: 91.92 kB / 2.605 GB, free: 21.88 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002689/5.978, allocations: 1.909 MB / 2.607 GB, free: 19.97 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/5.978, allocations: 0 / 2.607 GB, free: 19.97 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005738/5.984, allocations: 1.791 MB / 2.608 GB, free: 18.18 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.1057/6.09, allocations: 14.65 MB / 2.623 GB, free: 3.465 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005967/6.096, allocations: 3.941 MB / 2.626 GB, free: 15.54 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/6.096, allocations: 448 / 2.626 GB, free: 15.54 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/6.097, allocations: 1.063 MB / 2.628 GB, free: 14.47 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007048/6.104, allocations: 1.217 MB / 2.629 GB, free: 13.31 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/6.12, allocations: 6.402 MB / 2.635 GB, free: 6.828 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/6.123, allocations: 2.536 MB / 2.637 GB, free: 4.258 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008268/6.131, allocations: 1.844 MB / 2.639 GB, free: 2.43 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/6.134, allocations: 1.405 MB / 2.641 GB, free: 1.023 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/6.134, allocations: 0 / 2.641 GB, free: 1.023 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9216/7.055, allocations: 84.72 MB / 2.723 GB, free: 244.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/7.056, allocations: 199 kB / 2.724 GB, free: 244.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.157/12.21, allocations: 3.844 kB / 2.724 GB, free: 244.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat does not exist to compare? outputFormat=mat