Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.243/2.243, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001169/0.001169, allocations: 176.5 kB / 487.4 MB, free: 5.027 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.454/1.454, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 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.0009803/0.0009803, allocations: 91.91 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.899e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3037, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.419, allocations: 430.1 MB / 1.626 GB, free: 8.156 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.419, allocations: 91.78 kB / 1.626 GB, free: 8.109 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.302/4.721, allocations: 0.7983 GB / 2.424 GB, free: 215.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.795e-06/4.721, allocations: 1.844 kB / 2.424 GB, free: 215.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000839/4.722, allocations: 98.34 kB / 2.425 GB, free: 215.2 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.01516/4.737, allocations: 3.476 MB / 2.428 GB, free: 211.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.121e-05/4.737, allocations: 15.95 kB / 2.428 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/4.75, allocations: 1.619 MB / 2.43 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/4.767, allocations: 4.174 MB / 2.434 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/4.767, allocations: 98.78 kB / 2.434 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/4.769, allocations: 175.9 kB / 2.434 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00987/4.779, allocations: 3.444 MB / 2.437 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/4.791, allocations: 3.637 MB / 2.441 GB, free: 198.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/4.791, allocations: 4 kB / 2.441 GB, free: 198.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/4.792, allocations: 4 kB / 2.441 GB, free: 198.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/4.792, allocations: 137.7 kB / 2.441 GB, free: 198.4 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.03277/4.825, allocations: 15.1 MB / 2.456 GB, free: 183 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/4.828, allocations: 2.025 MB / 2.458 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/4.83, allocations: 1.221 MB / 2.459 GB, free: 179.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/4.832, allocations: 1.642 MB / 2.46 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/4.832, allocations: 55.81 kB / 2.461 GB, free: 177.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=164): time 5.239e-06/4.832, allocations: 4 kB / 2.461 GB, free: 177.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=164): time 0.1059/4.938, allocations: 10.58 MB / 2.471 GB, free: 167.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/4.938, allocations: 120.1 kB / 2.471 GB, free: 167 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005654/4.944, allocations: 2.375 MB / 2.473 GB, free: 164.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006558/4.944, allocations: 29.7 kB / 2.473 GB, free: 164.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/4.946, allocations: 1.665 MB / 2.475 GB, free: 162.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/4.947, allocations: 0.535 MB / 2.475 GB, free: 162.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/4.947, allocations: 4 kB / 2.476 GB, free: 162.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002441/4.948, allocations: 386.2 kB / 2.476 GB, free: 161.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/4.95, allocations: 1.051 MB / 2.477 GB, free: 160.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/4.952, allocations: 1.508 MB / 2.478 GB, free: 159.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.198/5.15, allocations: 16.9 MB / 2.495 GB, free: 142.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/5.15, allocations: 4 kB / 2.495 GB, free: 142.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.2006/5.351, allocations: 18.5 MB / 2.513 GB, free: 123.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/5.352, allocations: 4.766 MB / 2.518 GB, free: 118.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/5.352, allocations: 12 kB / 2.518 GB, free: 118.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.487e-05/5.352, allocations: 24 kB / 2.518 GB, free: 118.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00411/5.356, allocations: 0.6942 MB / 2.518 GB, free: 117.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/5.356, allocations: 27.92 kB / 2.518 GB, free: 117.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/5.361, allocations: 429.2 kB / 2.519 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/5.362, allocations: 115.9 kB / 2.519 GB, free: 117.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/5.362, allocations: 4 kB / 2.519 GB, free: 117.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1996/5.562, allocations: 18.2 MB / 2.537 GB, free: 99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/5.562, allocations: 12 kB / 2.537 GB, free: 98.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/5.562, allocations: 24 kB / 2.537 GB, free: 98.97 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004367/5.566, allocations: 0.691 MB / 2.537 GB, free: 98.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-05/5.566, allocations: 27.88 kB / 2.537 GB, free: 98.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005191/5.571, allocations: 385.1 kB / 2.538 GB, free: 97.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007843/5.572, allocations: 111.9 kB / 2.538 GB, free: 97.77 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.001264/5.573, allocations: 152.4 kB / 2.538 GB, free: 97.61 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1049/5.678, allocations: 10.58 MB / 2.548 GB, free: 87.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/5.68, allocations: 276.5 kB / 2.549 GB, free: 86.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1082/5.788, allocations: 11.05 MB / 2.559 GB, free: 75.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/5.788, allocations: 27.94 kB / 2.559 GB, free: 75.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/5.788, allocations: 0 / 2.559 GB, free: 75.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1059/5.894, allocations: 10.39 MB / 2.57 GB, free: 65.17 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1142/6.008, allocations: 15.31 MB / 2.584 GB, free: 49.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/6.009, allocations: 4 kB / 2.584 GB, free: 49.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003224/6.012, allocations: 491.3 kB / 2.585 GB, free: 49.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.033e-05/6.012, allocations: 8 kB / 2.585 GB, free: 49.06 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004849/6.012, allocations: 43.94 kB / 2.585 GB, free: 49.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/6.012, allocations: 12 kB / 2.585 GB, free: 49 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/6.012, allocations: 11.94 kB / 2.585 GB, free: 48.99 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1056/6.118, allocations: 12.35 MB / 2.597 GB, free: 36.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/6.121, allocations: 0.8092 MB / 2.598 GB, free: 35.56 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/6.122, allocations: 11.98 kB / 2.598 GB, free: 35.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004188/6.126, allocations: 243.6 kB / 2.598 GB, free: 35.31 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/6.127, allocations: 117 kB / 2.598 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003199/6.127, allocations: 86.16 kB / 2.598 GB, free: 35.12 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004011/6.131, allocations: 1.909 MB / 2.6 GB, free: 33.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.4e-07/6.131, allocations: 0 / 2.6 GB, free: 33.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008381/6.139, allocations: 1.787 MB / 2.602 GB, free: 31.41 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.1089/6.248, allocations: 14.66 MB / 2.616 GB, free: 16.69 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007298/6.256, allocations: 3.932 MB / 2.62 GB, free: 12.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/6.256, allocations: 8.375 kB / 2.62 GB, free: 12.75 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/6.257, allocations: 1.057 MB / 2.621 GB, free: 11.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/6.265, allocations: 1.219 MB / 2.622 GB, free: 10.54 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/6.282, allocations: 6.405 MB / 2.629 GB, free: 4.062 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/6.285, allocations: 2.536 MB / 2.631 GB, free: 1.496 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.8055/7.091, allocations: 1.827 MB / 2.633 GB, free: 239.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003814/7.095, allocations: 1.405 MB / 2.634 GB, free: 239.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/7.095, allocations: 0 / 2.634 GB, free: 239.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/7.269, allocations: 84.63 MB / 2.717 GB, free: 236.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/7.269, allocations: 187.9 kB / 2.717 GB, free: 236.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.505/12.77, allocations: 0 / 2.717 GB, free: 236.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat does not exist to compare? outputFormat=mat