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.19/2.19, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.00096/0.0009599, allocations: 176.1 kB / 492.3 MB, free: 0.5938 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.552/1.552, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009869/0.0009871, allocations: 87.94 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.517e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/5.629, allocations: 2.201 GB / 3.413 GB, free: 75.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/5.63, allocations: 90.08 kB / 3.413 GB, free: 75.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.422/12.05, allocations: 1.501 GB / 4.915 GB, free: 180.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/12.05, allocations: 0 / 4.915 GB, free: 180.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001131/12.05, allocations: 202.3 kB / 4.915 GB, free: 180.8 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.0258/12.08, allocations: 6.699 MB / 4.921 GB, free: 178.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/12.08, allocations: 11.41 kB / 4.921 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004285/12.08, allocations: 0.8094 MB / 4.922 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/12.1, allocations: 2.568 MB / 4.925 GB, free: 177.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02297/12.12, allocations: 8.101 MB / 4.933 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005432/12.12, allocations: 451.2 kB / 4.933 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/12.13, allocations: 0.5818 MB / 4.934 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/12.15, allocations: 8.055 MB / 4.941 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/12.15, allocations: 18.84 kB / 4.941 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/12.15, allocations: 257.5 kB / 4.942 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/12.15, allocations: 280.5 kB / 4.942 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/12.17, allocations: 7.425 MB / 4.949 GB, free: 175.8 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.05789/12.23, allocations: 31.7 MB / 4.98 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009172/12.24, allocations: 5.273 MB / 4.985 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004554/12.24, allocations: 2.727 MB / 4.988 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/12.24, allocations: 2.399 MB / 4.99 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005495/12.25, allocations: 2.98 MB / 4.993 GB, free: 162.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 8.416e-06/12.25, allocations: 5.375 kB / 4.993 GB, free: 162.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.01054/12.26, allocations: 4.994 MB / 4.998 GB, free: 161.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/12.26, allocations: 384.9 kB / 4.998 GB, free: 161.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008688/12.27, allocations: 5.296 MB / 5.004 GB, free: 161 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000991/12.27, allocations: 109.1 kB / 5.004 GB, free: 160.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/12.27, allocations: 3.16 MB / 5.007 GB, free: 159.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/12.27, allocations: 1.429 MB / 5.008 GB, free: 159 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/12.27, allocations: 89.56 kB / 5.008 GB, free: 159 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002274/12.27, allocations: 485 kB / 5.009 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/12.28, allocations: 2.139 MB / 5.011 GB, free: 158.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/12.28, allocations: 3.122 MB / 5.014 GB, free: 157.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/12.28, allocations: 2.601 MB / 5.016 GB, free: 157.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/12.28, allocations: 7.531 kB / 5.016 GB, free: 157.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.01065/12.3, allocations: 6.067 MB / 5.022 GB, free: 157.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002079/12.3, allocations: 10.9 MB / 5.033 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/12.3, allocations: 22.62 kB / 5.033 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.373e-05/12.3, allocations: 47.91 kB / 5.033 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006754/12.3, allocations: 1.298 MB / 5.034 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.901e-05/12.3, allocations: 57.97 kB / 5.034 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/12.31, allocations: 0.8482 MB / 5.035 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009953/12.31, allocations: 233.2 kB / 5.035 GB, free: 145.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/12.31, allocations: 6.547 kB / 5.035 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/12.32, allocations: 5.529 MB / 5.041 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-05/12.32, allocations: 26.91 kB / 5.041 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-05/12.32, allocations: 46.75 kB / 5.041 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006476/12.33, allocations: 1.293 MB / 5.042 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.742e-05/12.33, allocations: 57.11 kB / 5.042 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008005/12.34, allocations: 0.7925 MB / 5.043 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007269/12.34, allocations: 224.6 kB / 5.043 GB, free: 143.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.001811/12.34, allocations: 384.9 kB / 5.044 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002728/12.34, allocations: 0.6098 MB / 5.044 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/12.36, allocations: 6.215 MB / 5.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.091e-05/12.36, allocations: 45.06 kB / 5.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/12.36, allocations: 3.609 kB / 5.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006917/12.37, allocations: 4.61 MB / 5.055 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02765/12.39, allocations: 14.4 MB / 5.069 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/12.39, allocations: 8.906 kB / 5.069 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005681/12.4, allocations: 1.063 MB / 5.07 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.485e-05/12.4, allocations: 30.5 kB / 5.07 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/12.4, allocations: 149.3 kB / 5.07 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.271e-05/12.4, allocations: 20 kB / 5.07 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/12.4, allocations: 11.38 kB / 5.07 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/12.41, allocations: 9.832 MB / 5.08 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004998/12.42, allocations: 1.713 MB / 5.081 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001803/12.42, allocations: 96.78 kB / 5.082 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006709/12.43, allocations: 0.5226 MB / 5.082 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/12.43, allocations: 279.6 kB / 5.082 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006537/12.43, allocations: 206.5 kB / 5.082 GB, free: 125.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009337/12.44, allocations: 4.334 MB / 5.087 GB, free: 123.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/12.44, allocations: 3.938 kB / 5.087 GB, free: 123.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01576/12.45, allocations: 3.695 MB / 5.09 GB, free: 122.9 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.02146/12.47, allocations: 13.02 MB / 5.103 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01472/12.49, allocations: 8.494 MB / 5.111 GB, free: 104.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/12.49, allocations: 5.438 kB / 5.111 GB, free: 104.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004628/12.49, allocations: 2.626 MB / 5.114 GB, free: 102.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/12.51, allocations: 3.172 MB / 5.117 GB, free: 100.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/12.54, allocations: 13.81 MB / 5.13 GB, free: 88.02 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005181/12.55, allocations: 4.49 MB / 5.135 GB, free: 84.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01698/12.56, allocations: 4.134 MB / 5.139 GB, free: 82.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005145/12.57, allocations: 3.096 MB / 5.142 GB, free: 79.23 MB / 1.167 GB Notification: Performance of SimCode: time 1.002e-06/12.57, allocations: 0 / 5.142 GB, free: 79.23 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.168/13.74, allocations: 197.6 MB / 5.335 GB, free: 191.4 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/13.74, allocations: 211.1 kB / 5.335 GB, free: 191.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/22.47, allocations: 0 / 5.335 GB, free: 191.2 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