Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.103/2.103, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.0009881/0.0009881, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009793/0.0009793, allocations: 103.7 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.259e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2629, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.114/5.377, allocations: 2.201 GB / 3.42 GB, free: 63.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/5.377, allocations: 95.94 kB / 3.42 GB, free: 63.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.66/12.04, allocations: 1.501 GB / 4.921 GB, free: 169.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.344e-06/12.04, allocations: 2.844 kB / 4.921 GB, free: 169.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001475/12.04, allocations: 204 kB / 4.921 GB, free: 169.5 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.02782/12.07, allocations: 6.698 MB / 4.928 GB, free: 166.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/12.07, allocations: 11.56 kB / 4.928 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004749/12.07, allocations: 0.808 MB / 4.929 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/12.09, allocations: 2.566 MB / 4.931 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/12.12, allocations: 8.105 MB / 4.939 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/12.12, allocations: 453.4 kB / 4.94 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004114/12.12, allocations: 0.5827 MB / 4.94 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/12.15, allocations: 8.049 MB / 4.948 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/12.15, allocations: 20.16 kB / 4.948 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/12.15, allocations: 255.5 kB / 4.948 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/12.15, allocations: 281.3 kB / 4.949 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/12.16, allocations: 7.424 MB / 4.956 GB, free: 164.5 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.06935/12.23, allocations: 31.71 MB / 4.987 GB, free: 153.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/12.24, allocations: 5.272 MB / 4.992 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004426/12.25, allocations: 2.725 MB / 4.995 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002314/12.25, allocations: 2.406 MB / 4.997 GB, free: 151.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005248/12.25, allocations: 2.984 MB / 5 GB, free: 150.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 6.903e-06/12.25, allocations: 3.125 kB / 5 GB, free: 150.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.01061/12.27, allocations: 4.994 MB / 5.005 GB, free: 150.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/12.27, allocations: 388 kB / 5.005 GB, free: 150.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/12.28, allocations: 5.295 MB / 5.01 GB, free: 149.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001868/12.28, allocations: 107.4 kB / 5.01 GB, free: 149.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/12.28, allocations: 3.153 MB / 5.013 GB, free: 148.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002716/12.28, allocations: 1.436 MB / 5.015 GB, free: 147.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/12.28, allocations: 90.75 kB / 5.015 GB, free: 147.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002685/12.28, allocations: 480.6 kB / 5.015 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/12.29, allocations: 2.14 MB / 5.018 GB, free: 147.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/12.29, allocations: 3.121 MB / 5.021 GB, free: 146.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/12.3, allocations: 2.601 MB / 5.023 GB, free: 146.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/12.3, allocations: 3.719 kB / 5.023 GB, free: 146.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.01156/12.31, allocations: 6.068 MB / 5.029 GB, free: 145.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002533/12.31, allocations: 10.9 MB / 5.04 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/12.31, allocations: 20.34 kB / 5.04 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.923e-05/12.31, allocations: 50.91 kB / 5.04 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007447/12.32, allocations: 1.298 MB / 5.041 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.753e-05/12.32, allocations: 56.81 kB / 5.041 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009275/12.33, allocations: 0.8488 MB / 5.042 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/12.33, allocations: 231.2 kB / 5.042 GB, free: 134.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/12.33, allocations: 3.188 kB / 5.042 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0137/12.34, allocations: 5.533 MB / 5.048 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.915e-05/12.34, allocations: 23.12 kB / 5.048 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.598e-05/12.34, allocations: 47.75 kB / 5.048 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008408/12.35, allocations: 1.295 MB / 5.049 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002108/12.35, allocations: 60.06 kB / 5.049 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/12.36, allocations: 0.7874 MB / 5.05 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/12.36, allocations: 227.3 kB / 5.05 GB, free: 134.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.003375/12.37, allocations: 379.5 kB / 5.05 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003535/12.37, allocations: 0.6074 MB / 5.051 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/12.39, allocations: 6.219 MB / 5.057 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/12.39, allocations: 51.06 kB / 5.057 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/12.39, allocations: 3.953 kB / 5.057 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009359/12.4, allocations: 4.61 MB / 5.061 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04039/12.44, allocations: 14.39 MB / 5.076 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/12.44, allocations: 7.062 kB / 5.076 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007074/12.45, allocations: 1.063 MB / 5.077 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-05/12.45, allocations: 27.62 kB / 5.077 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001457/12.45, allocations: 144.1 kB / 5.077 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.398e-05/12.45, allocations: 31.3 kB / 5.077 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/12.45, allocations: 8.156 kB / 5.077 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/12.47, allocations: 9.829 MB / 5.086 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006975/12.48, allocations: 1.708 MB / 5.088 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/12.48, allocations: 94.97 kB / 5.088 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008963/12.49, allocations: 0.5296 MB / 5.089 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/12.49, allocations: 277.4 kB / 5.089 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0014/12.49, allocations: 214.2 kB / 5.089 GB, free: 117.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01041/12.5, allocations: 4.332 MB / 5.093 GB, free: 115.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.71e-07/12.5, allocations: 0 / 5.093 GB, free: 115.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01937/12.52, allocations: 3.694 MB / 5.097 GB, free: 115 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.02603/12.55, allocations: 13.03 MB / 5.11 GB, free: 107.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01934/12.57, allocations: 8.488 MB / 5.118 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/12.57, allocations: 8.781 kB / 5.118 GB, free: 104.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005844/12.57, allocations: 2.624 MB / 5.121 GB, free: 103.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02174/12.6, allocations: 3.18 MB / 5.124 GB, free: 101.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04277/12.64, allocations: 13.81 MB / 5.137 GB, free: 89.57 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006837/12.65, allocations: 4.493 MB / 5.142 GB, free: 86.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02223/12.67, allocations: 4.173 MB / 5.146 GB, free: 83.57 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008435/12.68, allocations: 3.099 MB / 5.149 GB, free: 80.76 MB / 1.167 GB Notification: Performance of SimCode: time 1.493e-06/12.68, allocations: 0 / 5.149 GB, free: 80.76 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.214/13.89, allocations: 197.8 MB / 5.342 GB, free: 194.8 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/13.89, allocations: 210 kB / 5.342 GB, free: 194.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/23.3, allocations: 0 / 5.342 GB, free: 194.6 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat does not exist to compare? outputFormat=mat