Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.175/2.175, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001256/0.001256, allocations: 191.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.462/1.462, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008623/0.0008625, allocations: 87.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.806e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/4.57, allocations: 1.733 GB / 2.952 GB, free: 80.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/4.571, allocations: 91.94 kB / 2.952 GB, free: 80.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1444/4.715, allocations: 66.35 MB / 3.017 GB, free: 13.95 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.455e-06/4.715, allocations: 0 / 3.017 GB, free: 13.95 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001142/4.716, allocations: 24 kB / 3.017 GB, free: 13.93 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.00271/4.718, allocations: 1.122 MB / 3.018 GB, free: 12.76 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/4.718, allocations: 8.031 kB / 3.018 GB, free: 12.75 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/4.719, allocations: 131 kB / 3.018 GB, free: 12.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/4.72, allocations: 190.5 kB / 3.018 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/4.721, allocations: 0.6355 MB / 3.019 GB, free: 11.75 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/4.721, allocations: 62 kB / 3.019 GB, free: 11.69 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/4.721, allocations: 80 kB / 3.019 GB, free: 11.61 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/4.723, allocations: 0.8443 MB / 3.02 GB, free: 10.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/4.723, allocations: 0 / 3.02 GB, free: 10.73 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/4.723, allocations: 35.95 kB / 3.02 GB, free: 10.69 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/4.723, allocations: 20 kB / 3.02 GB, free: 10.67 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/4.725, allocations: 1.034 MB / 3.021 GB, free: 9.637 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/4.729, allocations: 2.512 MB / 3.023 GB, free: 7.051 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/4.73, allocations: 0.7143 MB / 3.024 GB, free: 6.324 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/4.73, allocations: 267.2 kB / 3.024 GB, free: 6.059 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/4.73, allocations: 114.2 kB / 3.025 GB, free: 5.93 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006191/4.731, allocations: 425.3 kB / 3.025 GB, free: 5.496 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/4.731, allocations: 0 / 3.025 GB, free: 5.496 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001564/4.732, allocations: 0.6992 MB / 3.026 GB, free: 4.789 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/4.732, allocations: 252.1 kB / 3.026 GB, free: 4.484 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/4.733, allocations: 0.6209 MB / 3.026 GB, free: 3.863 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/4.733, allocations: 45.64 kB / 3.027 GB, free: 3.812 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/4.734, allocations: 392.4 kB / 3.027 GB, free: 3.422 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/4.734, allocations: 240.5 kB / 3.027 GB, free: 3.184 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/4.734, allocations: 16 kB / 3.027 GB, free: 3.168 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001169/4.734, allocations: 386.7 kB / 3.028 GB, free: 2.781 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/4.734, allocations: 205.5 kB / 3.028 GB, free: 2.582 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/4.735, allocations: 321 kB / 3.028 GB, free: 2.238 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/4.735, allocations: 250 kB / 3.028 GB, free: 1.996 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/4.735, allocations: 4 kB / 3.028 GB, free: 1.992 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00139/4.736, allocations: 0.7108 MB / 3.029 GB, free: 1.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/4.736, allocations: 7.984 kB / 3.029 GB, free: 1.262 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/4.736, allocations: 4.062 kB / 3.029 GB, free: 1.258 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/4.737, allocations: 80.78 kB / 3.029 GB, free: 1.176 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/4.738, allocations: 143.8 kB / 3.029 GB, free: 1.035 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8108/5.548, allocations: 1.517 MB / 3.031 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/5.549, allocations: 85.58 kB / 3.031 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/5.55, allocations: 27.94 kB / 3.031 GB, free: 398.5 MB / 1.167 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.0002341/5.55, allocations: 147.9 kB / 3.031 GB, free: 398.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/5.55, allocations: 82.28 kB / 3.031 GB, free: 398.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/5.553, allocations: 0.9785 MB / 3.032 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/5.553, allocations: 8.781 kB / 3.032 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/5.553, allocations: 0.8438 kB / 3.032 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/5.553, allocations: 8.234 kB / 3.032 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/5.554, allocations: 0.8959 MB / 3.033 GB, free: 398.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/5.554, allocations: 0.5 kB / 3.033 GB, free: 398.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/5.555, allocations: 146 kB / 3.033 GB, free: 398.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/5.555, allocations: 91.62 kB / 3.033 GB, free: 398.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/5.555, allocations: 21.95 kB / 3.033 GB, free: 398.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/5.557, allocations: 1.56 MB / 3.035 GB, free: 396.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/5.557, allocations: 8.141 kB / 3.035 GB, free: 396.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/5.559, allocations: 0.8154 MB / 3.035 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/5.56, allocations: 297.5 kB / 3.036 GB, free: 396.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/5.56, allocations: 16.45 kB / 3.036 GB, free: 396.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/5.561, allocations: 70.97 kB / 3.036 GB, free: 396.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/5.561, allocations: 59.7 kB / 3.036 GB, free: 396.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/5.561, allocations: 32.19 kB / 3.036 GB, free: 396.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008635/5.562, allocations: 0.4984 MB / 3.036 GB, free: 396.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.974e-06/5.562, allocations: 0 / 3.036 GB, free: 396.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001835/5.564, allocations: 368.5 kB / 3.037 GB, free: 396.4 MB / 1.167 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.005353/5.569, allocations: 2.342 MB / 3.039 GB, free: 395.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001859/5.571, allocations: 0.6959 MB / 3.04 GB, free: 395.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/5.571, allocations: 0.5312 kB / 3.04 GB, free: 395.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/5.572, allocations: 472.9 kB / 3.04 GB, free: 395.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/5.573, allocations: 250.1 kB / 3.04 GB, free: 395.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/5.579, allocations: 1.615 MB / 3.042 GB, free: 395.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/5.58, allocations: 1.04 MB / 3.043 GB, free: 394.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001025/5.581, allocations: 258.1 kB / 3.043 GB, free: 394.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/5.581, allocations: 377.2 kB / 3.044 GB, free: 394.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/5.581, allocations: 0 / 3.044 GB, free: 394.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09913/5.68, allocations: 32.61 MB / 3.075 GB, free: 392.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/5.681, allocations: 257.4 kB / 3.076 GB, free: 392.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/8.636, allocations: 0 / 3.076 GB, free: 392.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat