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.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001191/0.001191, allocations: 178.8 kB / 498.1 MB, free: 5.746 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.705/1.705, allocations: 223.1 MB / 0.7948 GB, free: 17.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.001161/0.001161, allocations: 92.2 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003843, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3671, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.733, allocations: 2.201 GB / 3.424 GB, free: 283.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/5.734, allocations: 95.95 kB / 3.424 GB, free: 283.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.671/10.4, allocations: 1.505 GB / 4.929 GB, free: 94.01 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.354e-06/10.4, allocations: 0 / 4.929 GB, free: 94.01 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001212/10.41, allocations: 207.8 kB / 4.929 GB, free: 93.81 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.02833/10.43, allocations: 8.012 MB / 4.937 GB, free: 85.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/10.43, allocations: 8.031 kB / 4.937 GB, free: 85.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003804/10.44, allocations: 0.8186 MB / 4.938 GB, free: 84.87 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/10.46, allocations: 2.565 MB / 4.941 GB, free: 82.29 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/10.48, allocations: 8.148 MB / 4.948 GB, free: 74.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004909/10.48, allocations: 447.9 kB / 4.949 GB, free: 73.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/10.48, allocations: 0.5897 MB / 4.949 GB, free: 73.07 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/10.51, allocations: 8.777 MB / 4.958 GB, free: 64.04 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/10.51, allocations: 11.84 kB / 4.958 GB, free: 64.03 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002574/10.51, allocations: 263.9 kB / 4.958 GB, free: 63.77 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/10.51, allocations: 283.6 kB / 4.959 GB, free: 63.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/10.54, allocations: 8.804 MB / 4.967 GB, free: 54.68 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0654/10.6, allocations: 31.72 MB / 4.998 GB, free: 21.98 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/10.62, allocations: 6.08 MB / 5.004 GB, free: 15.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002533/10.62, allocations: 2.403 MB / 5.006 GB, free: 12.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01003/10.63, allocations: 3.423 MB / 5.01 GB, free: 9.527 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.247e-05/10.63, allocations: 0 / 5.01 GB, free: 9.527 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.02594/10.66, allocations: 8.278 MB / 5.018 GB, free: 1.227 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/10.66, allocations: 389.5 kB / 5.018 GB, free: 0.7656 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/10.67, allocations: 5.352 MB / 5.023 GB, free: 11.41 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/10.67, allocations: 105.7 kB / 5.024 GB, free: 11.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004192/10.68, allocations: 3.156 MB / 5.027 GB, free: 8.121 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00268/10.68, allocations: 1.429 MB / 5.028 GB, free: 6.672 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/10.68, allocations: 92 kB / 5.028 GB, free: 6.582 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0005302/10.68, allocations: 483.6 kB / 5.029 GB, free: 6.102 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008115/10.69, allocations: 2.585 MB / 5.031 GB, free: 3.508 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6729/11.36, allocations: 3.559 MB / 5.035 GB, free: 155.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009206/11.37, allocations: 3.038 MB / 5.038 GB, free: 155.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-05/11.37, allocations: 7.031 kB / 5.038 GB, free: 155.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02215/11.39, allocations: 6.961 MB / 5.044 GB, free: 155 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002116/11.39, allocations: 10.9 MB / 5.055 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/11.39, allocations: 21.81 kB / 5.055 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/11.39, allocations: 46.67 kB / 5.055 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007776/11.4, allocations: 1.298 MB / 5.056 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.42e-05/11.4, allocations: 63.19 kB / 5.056 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008481/11.41, allocations: 0.8502 MB / 5.057 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009622/11.41, allocations: 231.5 kB / 5.057 GB, free: 143.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/11.41, allocations: 3.688 kB / 5.057 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01831/11.43, allocations: 6.423 MB / 5.064 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.701e-05/11.43, allocations: 22.88 kB / 5.064 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.032e-05/11.43, allocations: 47.06 kB / 5.064 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/11.44, allocations: 1.297 MB / 5.065 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001732/11.44, allocations: 56.72 kB / 5.065 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008188/11.45, allocations: 0.7879 MB / 5.066 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/11.45, allocations: 226.1 kB / 5.066 GB, free: 143.7 MB / 1.182 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 () * Number of clocked 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.007004/11.45, allocations: 2.133 MB / 5.068 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/11.46, allocations: 0.6076 MB / 5.069 GB, free: 143.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/11.48, allocations: 7.109 MB / 5.076 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/11.48, allocations: 49.2 kB / 5.076 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/11.48, allocations: 0 / 5.076 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01283/11.49, allocations: 5.494 MB / 5.081 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/11.52, allocations: 15.28 MB / 5.096 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/11.52, allocations: 11.62 kB / 5.096 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006135/11.53, allocations: 1.07 MB / 5.097 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-05/11.53, allocations: 22.5 kB / 5.097 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00045/11.53, allocations: 146.7 kB / 5.097 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.106e-05/11.53, allocations: 27.08 kB / 5.097 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/11.53, allocations: 11.69 kB / 5.097 GB, free: 141.5 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/11.55, allocations: 11.15 MB / 5.108 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004972/11.56, allocations: 1.708 MB / 5.11 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/11.56, allocations: 93.47 kB / 5.11 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00623/11.56, allocations: 0.5242 MB / 5.11 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/11.56, allocations: 283.2 kB / 5.111 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004718/11.56, allocations: 209.3 kB / 5.111 GB, free: 138.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.007635/11.57, allocations: 4.401 MB / 5.115 GB, free: 138.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 3e-07/11.57, allocations: 1.688 kB / 5.115 GB, free: 138.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01363/11.58, allocations: 3.702 MB / 5.119 GB, free: 138.4 MB / 1.182 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) * Number of clocked states: 0 () * 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.02894/11.61, allocations: 14.38 MB / 5.133 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0218/11.64, allocations: 9.616 MB / 5.142 GB, free: 134.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/11.64, allocations: 6.562 kB / 5.142 GB, free: 134.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.006833/11.64, allocations: 3.072 MB / 5.145 GB, free: 134.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/11.66, allocations: 3.159 MB / 5.148 GB, free: 134.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1304/11.79, allocations: 72.96 MB / 5.22 GB, free: 94.16 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005913/11.79, allocations: 4.481 MB / 5.224 GB, free: 93.21 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01626/11.81, allocations: 2.943 MB / 5.227 GB, free: 92.75 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007221/11.82, allocations: 3.207 MB / 5.23 GB, free: 92.75 MB / 1.182 GB Notification: Performance of SimCode: time 2.134e-06/11.82, allocations: 0 / 5.23 GB, free: 92.75 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/12.09, allocations: 195.5 MB / 5.421 GB, free: 13.17 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/12.09, allocations: 231.6 kB / 5.421 GB, free: 12.93 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/20.21, allocations: 0 / 5.421 GB, free: 12.93 MB / 1.182 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