Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.267/2.267, 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.001318/0.001318, allocations: 176.2 kB / 492.3 MB, free: 0.6133 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.55/1.55, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001098/0.001098, allocations: 97.66 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.293e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.261, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.085/4.346, allocations: 1.732 GB / 2.945 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/4.346, allocations: 83.95 kB / 2.945 GB, free: 132.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1392/4.485, allocations: 65.91 MB / 3.009 GB, free: 66.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.513e-06/4.485, allocations: 0 / 3.009 GB, free: 66.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001048/4.485, allocations: 24 kB / 3.009 GB, free: 66.42 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.00228/4.488, allocations: 1.121 MB / 3.01 GB, free: 65.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/4.488, allocations: 16.03 kB / 3.01 GB, free: 65.24 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/4.488, allocations: 131 kB / 3.011 GB, free: 65.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/4.489, allocations: 190.5 kB / 3.011 GB, free: 64.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/4.49, allocations: 0.6394 MB / 3.011 GB, free: 64.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/4.49, allocations: 62 kB / 3.011 GB, free: 64.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/4.49, allocations: 76 kB / 3.011 GB, free: 64.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/4.491, allocations: 0.8366 MB / 3.012 GB, free: 63.22 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/4.492, allocations: 0 / 3.012 GB, free: 63.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/4.492, allocations: 32 kB / 3.012 GB, free: 63.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/4.492, allocations: 23.95 kB / 3.012 GB, free: 63.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/4.493, allocations: 1.038 MB / 3.013 GB, free: 62.13 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/4.497, allocations: 2.5 MB / 3.016 GB, free: 59.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/4.498, allocations: 0.7164 MB / 3.017 GB, free: 58.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/4.498, allocations: 267.2 kB / 3.017 GB, free: 58.56 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/4.498, allocations: 113.9 kB / 3.017 GB, free: 58.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/4.499, allocations: 421.3 kB / 3.017 GB, free: 58 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/4.499, allocations: 0 / 3.017 GB, free: 58 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001492/4.5, allocations: 0.7109 MB / 3.018 GB, free: 57.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/4.5, allocations: 244.1 kB / 3.018 GB, free: 56.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/4.501, allocations: 0.6209 MB / 3.019 GB, free: 56.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/4.501, allocations: 41.7 kB / 3.019 GB, free: 56.31 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/4.501, allocations: 396.4 kB / 3.019 GB, free: 55.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/4.501, allocations: 248.4 kB / 3.019 GB, free: 55.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/4.501, allocations: 8 kB / 3.019 GB, free: 55.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/4.501, allocations: 386.8 kB / 3.02 GB, free: 55.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/4.502, allocations: 209.5 kB / 3.02 GB, free: 55.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/4.502, allocations: 317 kB / 3.02 GB, free: 54.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/4.503, allocations: 262 kB / 3.021 GB, free: 54.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/4.503, allocations: 0 / 3.021 GB, free: 54.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001321/4.504, allocations: 0.7031 MB / 3.021 GB, free: 53.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/4.504, allocations: 8.062 kB / 3.021 GB, free: 53.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/4.504, allocations: 0 / 3.021 GB, free: 53.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/4.504, allocations: 88.77 kB / 3.021 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/4.505, allocations: 139.8 kB / 3.022 GB, free: 53.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/4.507, allocations: 1.528 MB / 3.023 GB, free: 51.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/4.507, allocations: 87.33 kB / 3.023 GB, free: 51.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/4.507, allocations: 23.98 kB / 3.023 GB, free: 51.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001376/4.507, allocations: 146.2 kB / 3.023 GB, free: 51.61 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/4.508, allocations: 83.06 kB / 3.023 GB, free: 51.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/4.509, allocations: 0.9739 MB / 3.024 GB, free: 50.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/4.509, allocations: 12 kB / 3.024 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/4.509, allocations: 3.953 kB / 3.024 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/4.509, allocations: 3.984 kB / 3.024 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/4.51, allocations: 0.9033 MB / 3.025 GB, free: 49.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/4.51, allocations: 3.938 kB / 3.025 GB, free: 49.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/4.511, allocations: 143.8 kB / 3.025 GB, free: 49.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/4.511, allocations: 88.78 kB / 3.025 GB, free: 49.33 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/4.511, allocations: 19.97 kB / 3.025 GB, free: 49.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/4.513, allocations: 1.564 MB / 3.027 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/4.513, allocations: 0 / 3.027 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/4.514, allocations: 0.8246 MB / 3.028 GB, free: 46.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/4.515, allocations: 299.6 kB / 3.028 GB, free: 46.44 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/4.515, allocations: 16 kB / 3.028 GB, free: 46.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/4.515, allocations: 63.95 kB / 3.028 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/4.515, allocations: 64.69 kB / 3.028 GB, free: 46.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/4.516, allocations: 31.98 kB / 3.028 GB, free: 46.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005596/4.516, allocations: 0.4991 MB / 3.029 GB, free: 45.77 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/4.516, allocations: 0 / 3.029 GB, free: 45.77 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009787/4.517, allocations: 363.2 kB / 3.029 GB, free: 45.42 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003259/4.52, allocations: 2.34 MB / 3.031 GB, free: 43.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001136/4.522, allocations: 0.7059 MB / 3.032 GB, free: 42.49 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/4.522, allocations: 0 / 3.032 GB, free: 42.49 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/4.522, allocations: 474.9 kB / 3.032 GB, free: 42.01 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/4.523, allocations: 249.1 kB / 3.033 GB, free: 41.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/4.527, allocations: 1.607 MB / 3.034 GB, free: 40.13 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/4.528, allocations: 1.039 MB / 3.035 GB, free: 39.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007864/4.529, allocations: 262.1 kB / 3.036 GB, free: 38.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/4.529, allocations: 375.3 kB / 3.036 GB, free: 38.43 MB / 1.151 GB Notification: Performance of SimCode: time 7.92e-07/4.529, allocations: 4 kB / 3.036 GB, free: 38.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/4.579, allocations: 32.6 MB / 3.068 GB, free: 6.125 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/4.579, allocations: 244 kB / 3.068 GB, free: 5.789 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/7.573, allocations: 0 / 3.068 GB, free: 5.789 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat