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.519/2.519, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001658/0.001658, allocations: 187.2 kB / 0.4901 GB, free: 2.246 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.731/1.731, allocations: 223.1 MB / 0.7992 GB, free: 15.59 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.0009814/0.0009814, allocations: 96.31 kB / 0.9396 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004777, allocations: 12.69 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3768, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.919/6.296, allocations: 2.201 GB / 3.43 GB, free: 166.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/6.296, allocations: 91.77 kB / 3.43 GB, free: 166.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.985/11.28, allocations: 1.506 GB / 4.936 GB, free: 14.66 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.563e-06/11.28, allocations: 0 / 4.936 GB, free: 14.66 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001112/11.28, allocations: 199.8 kB / 4.936 GB, free: 14.46 MB / 1.182 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.02684/11.31, allocations: 8.016 MB / 4.944 GB, free: 6.355 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/11.31, allocations: 12.03 kB / 4.944 GB, free: 6.344 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003687/11.31, allocations: 0.8186 MB / 4.945 GB, free: 5.516 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/11.33, allocations: 2.569 MB / 4.947 GB, free: 2.934 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.405/12.74, allocations: 8.14 MB / 4.955 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008322/12.74, allocations: 450 kB / 4.955 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003651/12.74, allocations: 0.5864 MB / 4.956 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/12.77, allocations: 8.775 MB / 4.965 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/12.77, allocations: 17.33 kB / 4.965 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/12.77, allocations: 255.6 kB / 4.965 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005432/12.78, allocations: 282.2 kB / 4.965 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/12.81, allocations: 8.803 MB / 4.974 GB, free: 136.4 MB / 1.182 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.0725/12.88, allocations: 31.71 MB / 5.005 GB, free: 126.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/12.89, allocations: 6.088 MB / 5.011 GB, free: 126.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/12.9, allocations: 2.406 MB / 5.013 GB, free: 123.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008755/12.91, allocations: 3.421 MB / 5.016 GB, free: 123.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=424): time 7.544e-06/12.91, allocations: 3.281 kB / 5.016 GB, free: 123.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=424): time 0.02305/12.93, allocations: 8.272 MB / 5.024 GB, free: 123.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/12.93, allocations: 388.8 kB / 5.025 GB, free: 122.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/12.94, allocations: 5.355 MB / 5.03 GB, free: 122.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001462/12.94, allocations: 106.2 kB / 5.03 GB, free: 122.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/12.95, allocations: 3.155 MB / 5.033 GB, free: 121.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00256/12.95, allocations: 1.437 MB / 5.035 GB, free: 120.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/12.95, allocations: 85.88 kB / 5.035 GB, free: 120.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003211/12.95, allocations: 493.6 kB / 5.035 GB, free: 120.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007733/12.96, allocations: 2.584 MB / 5.038 GB, free: 120.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008016/12.96, allocations: 3.57 MB / 5.041 GB, free: 119.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/12.97, allocations: 3.031 MB / 5.044 GB, free: 119.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.674e-05/12.97, allocations: 7.281 kB / 5.044 GB, free: 119.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.0198/12.99, allocations: 6.96 MB / 5.051 GB, free: 119 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002319/12.99, allocations: 10.9 MB / 5.062 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/12.99, allocations: 26.09 kB / 5.062 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/12.99, allocations: 51.14 kB / 5.062 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008298/13, allocations: 1.296 MB / 5.063 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001449/13, allocations: 60.08 kB / 5.063 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/13.01, allocations: 0.8463 MB / 5.064 GB, free: 107.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/13.01, allocations: 226.1 kB / 5.064 GB, free: 107.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/13.01, allocations: 5.344 kB / 5.064 GB, free: 107.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01792/13.03, allocations: 6.428 MB / 5.07 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-05/13.03, allocations: 21.03 kB / 5.07 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.347e-05/13.03, allocations: 47.12 kB / 5.07 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007686/13.04, allocations: 1.294 MB / 5.072 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/13.04, allocations: 56.47 kB / 5.072 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009722/13.05, allocations: 0.7911 MB / 5.072 GB, free: 107.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/13.05, allocations: 225.5 kB / 5.073 GB, free: 107.2 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.007629/13.06, allocations: 2.138 MB / 5.075 GB, free: 107 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003462/13.06, allocations: 0.6026 MB / 5.075 GB, free: 106.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/13.09, allocations: 7.113 MB / 5.082 GB, free: 106.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.435e-05/13.09, allocations: 44.84 kB / 5.082 GB, free: 106.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/13.09, allocations: 2.734 kB / 5.082 GB, free: 106.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01603/13.1, allocations: 5.493 MB / 5.088 GB, free: 106.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04367/13.15, allocations: 15.29 MB / 5.103 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/13.15, allocations: 3.781 kB / 5.103 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006908/13.16, allocations: 1.066 MB / 5.104 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/13.16, allocations: 28.05 kB / 5.104 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/13.16, allocations: 146.6 kB / 5.104 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.762e-05/13.16, allocations: 24.78 kB / 5.104 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/13.16, allocations: 14.45 kB / 5.104 GB, free: 104.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02843/13.19, allocations: 11.15 MB / 5.115 GB, free: 102.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00751/13.19, allocations: 1.71 MB / 5.116 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003725/13.2, allocations: 94.41 kB / 5.117 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009883/13.21, allocations: 0.526 MB / 5.117 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001434/13.21, allocations: 285.1 kB / 5.117 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001598/13.21, allocations: 209.6 kB / 5.118 GB, free: 102 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01107/13.22, allocations: 4.395 MB / 5.122 GB, free: 101.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.11e-07/13.22, allocations: 0 / 5.122 GB, free: 101.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.02032/13.24, allocations: 3.692 MB / 5.125 GB, free: 101.3 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.03807/13.28, allocations: 14.39 MB / 5.139 GB, free: 97.42 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02935/13.31, allocations: 9.622 MB / 5.149 GB, free: 97.33 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.27e-05/13.31, allocations: 5.281 kB / 5.149 GB, free: 97.33 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.009186/13.32, allocations: 3.069 MB / 5.152 GB, free: 97.32 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/13.34, allocations: 3.173 MB / 5.155 GB, free: 97.28 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1512/13.49, allocations: 72.96 MB / 5.226 GB, free: 55.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/13.49, allocations: 4.477 MB / 5.231 GB, free: 54.28 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01567/13.51, allocations: 2.953 MB / 5.233 GB, free: 53.82 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007979/13.52, allocations: 3.21 MB / 5.237 GB, free: 51.38 MB / 1.182 GB Notification: Performance of SimCode: time 8.92e-07/13.52, allocations: 0 / 5.237 GB, free: 51.38 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.037/14.55, allocations: 195.6 MB / 5.428 GB, free: 153.6 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/14.55, allocations: 238.7 kB / 5.428 GB, free: 153.4 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.818/24.37, allocations: 2.109 kB / 5.428 GB, free: 153.4 MB / 1.229 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