Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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.169/2.169, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001011/0.001011, allocations: 180.8 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.404/1.404, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.001044/0.001044, allocations: 111.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.581e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.751/5.998, allocations: 2.2 GB / 3.406 GB, free: 97.13 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/5.998, allocations: 91.39 kB / 3.406 GB, free: 97.09 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.422/12.42, allocations: 1.494 GB / 4.9 GB, free: 167.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.224e-06/12.42, allocations: 0 / 4.9 GB, free: 167.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001831/12.42, allocations: 196.5 kB / 4.9 GB, free: 167.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 0.02995/12.45, allocations: 6.702 MB / 4.907 GB, free: 164.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/12.45, allocations: 11.62 kB / 4.907 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/12.47, allocations: 2.561 MB / 4.909 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/12.49, allocations: 8.114 MB / 4.917 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/12.5, allocations: 189.4 kB / 4.917 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/12.5, allocations: 350.4 kB / 4.918 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01923/12.52, allocations: 6.958 MB / 4.925 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/12.54, allocations: 7.206 MB / 4.932 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/12.54, allocations: 10.84 kB / 4.932 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/12.55, allocations: 7.719 kB / 4.932 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/12.55, allocations: 282.7 kB / 4.932 GB, free: 162.7 MB / 1.167 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.07126/12.62, allocations: 30.54 MB / 4.962 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/12.63, allocations: 5.055 MB / 4.967 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005355/12.63, allocations: 2.591 MB / 4.969 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/12.64, allocations: 2.403 MB / 4.972 GB, free: 149.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007172/12.64, allocations: 2.855 MB / 4.974 GB, free: 149.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.375e-05/12.64, allocations: 3.562 kB / 4.974 GB, free: 149.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.1705/12.82, allocations: 17.51 MB / 4.991 GB, free: 148.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/12.82, allocations: 381.6 kB / 4.992 GB, free: 148.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/12.83, allocations: 4.521 MB / 4.996 GB, free: 148.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001752/12.83, allocations: 28.89 kB / 4.996 GB, free: 148.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004021/12.83, allocations: 3.177 MB / 4.999 GB, free: 147 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002851/12.84, allocations: 1.376 MB / 5.001 GB, free: 146.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005309/12.84, allocations: 0 / 5.001 GB, free: 146.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003688/12.84, allocations: 485 kB / 5.001 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/12.84, allocations: 2.056 MB / 5.003 GB, free: 145.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/12.85, allocations: 3.002 MB / 5.006 GB, free: 144.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1593/13.01, allocations: 15.28 MB / 5.021 GB, free: 144.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/13.01, allocations: 9.062 kB / 5.021 GB, free: 144.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.168/13.17, allocations: 18.44 MB / 5.039 GB, free: 142.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002054/13.18, allocations: 10.59 MB / 5.049 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-05/13.18, allocations: 24.69 kB / 5.049 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-05/13.18, allocations: 51.52 kB / 5.049 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007763/13.18, allocations: 1.294 MB / 5.051 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.991e-05/13.18, allocations: 55.81 kB / 5.051 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008931/13.19, allocations: 0.6972 MB / 5.051 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/13.19, allocations: 228.5 kB / 5.052 GB, free: 131.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/13.19, allocations: 4.562 kB / 5.052 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1631/13.36, allocations: 17.86 MB / 5.069 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-05/13.36, allocations: 23.78 kB / 5.069 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.035e-05/13.36, allocations: 50.78 kB / 5.069 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008632/13.37, allocations: 1.297 MB / 5.07 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/13.37, allocations: 56.16 kB / 5.07 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0096/13.38, allocations: 0.6339 MB / 5.071 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/13.38, allocations: 227.2 kB / 5.071 GB, free: 130.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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.001711/13.38, allocations: 209 kB / 5.072 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.162/13.54, allocations: 17.51 MB / 5.089 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/13.54, allocations: 0.5518 MB / 5.089 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1648/13.71, allocations: 18.61 MB / 5.107 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-05/13.71, allocations: 51.23 kB / 5.107 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/13.71, allocations: 0.8438 kB / 5.107 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1617/13.87, allocations: 17.13 MB / 5.124 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1775/14.05, allocations: 26.03 MB / 5.15 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/14.05, allocations: 8 kB / 5.15 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006269/14.05, allocations: 1.066 MB / 5.151 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/14.06, allocations: 20 kB / 5.151 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008717/14.06, allocations: 104.6 kB / 5.151 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.711e-05/14.06, allocations: 21.97 kB / 5.151 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/14.06, allocations: 9.781 kB / 5.151 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.165/14.22, allocations: 21.99 MB / 5.172 GB, free: 83.45 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005913/14.23, allocations: 1.629 MB / 5.174 GB, free: 81.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/14.23, allocations: 23.94 kB / 5.174 GB, free: 81.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007839/14.24, allocations: 447.1 kB / 5.174 GB, free: 81.34 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009744/14.24, allocations: 280.7 kB / 5.175 GB, free: 81.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007293/14.24, allocations: 206 kB / 5.175 GB, free: 80.87 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006776/14.25, allocations: 3.496 MB / 5.178 GB, free: 77.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.102e-06/14.25, allocations: 0 / 5.178 GB, free: 77.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01733/14.26, allocations: 3.565 MB / 5.182 GB, free: 73.83 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.1719/14.44, allocations: 25.34 MB / 5.206 GB, free: 48.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01592/14.45, allocations: 8.104 MB / 5.214 GB, free: 40.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-05/14.45, allocations: 8.375 kB / 5.214 GB, free: 40.79 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004583/14.46, allocations: 2.528 MB / 5.217 GB, free: 38.36 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/14.47, allocations: 2.552 MB / 5.219 GB, free: 35.95 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/14.51, allocations: 13.23 MB / 5.232 GB, free: 22.67 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005695/14.51, allocations: 4.499 MB / 5.237 GB, free: 18.13 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01954/14.53, allocations: 3.84 MB / 5.24 GB, free: 14.59 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006586/14.54, allocations: 3.076 MB / 5.243 GB, free: 11.52 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/14.54, allocations: 0 / 5.243 GB, free: 11.52 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.041/15.58, allocations: 172 MB / 5.411 GB, free: 168.6 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/15.58, allocations: 185.8 kB / 5.411 GB, free: 168.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/23.48, allocations: 0 / 5.411 GB, free: 168.4 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat does not exist to compare? outputFormat=mat