Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.228/2.228, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001347/0.001347, allocations: 184.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.666/1.666, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.001115/0.001116, allocations: 99.86 kB / 0.9318 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.594e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3168, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/4.928, allocations: 1.738 GB / 2.957 GB, free: 75.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/4.928, allocations: 87.95 kB / 2.957 GB, free: 75.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9014/5.83, allocations: 77.45 MB / 3.033 GB, free: 394.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.823e-06/5.83, allocations: 0.8438 kB / 3.033 GB, free: 394.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001038/5.83, allocations: 31.91 kB / 3.033 GB, free: 394.7 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003474/5.833, allocations: 1.475 MB / 3.034 GB, free: 394 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/5.833, allocations: 10.19 kB / 3.034 GB, free: 394 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/5.834, allocations: 192.9 kB / 3.034 GB, free: 393.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/5.839, allocations: 0.767 MB / 3.035 GB, free: 393.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/5.841, allocations: 0.8533 MB / 3.036 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/5.841, allocations: 96.03 kB / 3.036 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/5.841, allocations: 131.3 kB / 3.036 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/5.845, allocations: 1.508 MB / 3.037 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/5.845, allocations: 0 / 3.037 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/5.845, allocations: 55.05 kB / 3.038 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/5.845, allocations: 35.95 kB / 3.038 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/5.848, allocations: 1.842 MB / 3.039 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/5.858, allocations: 4.516 MB / 3.044 GB, free: 392.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/5.861, allocations: 1.296 MB / 3.045 GB, free: 392.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/5.862, allocations: 0.6035 MB / 3.046 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007246/5.863, allocations: 490 kB / 3.046 GB, free: 392.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/5.864, allocations: 0.7924 MB / 3.047 GB, free: 392 MB / 1.167 GB Notification: Performance of pre-optimization done (n=124): time 3.767e-06/5.864, allocations: 0 / 3.047 GB, free: 392 MB / 1.167 GB Notification: Performance of matching and sorting (n=124): time 0.003308/5.867, allocations: 1.321 MB / 3.048 GB, free: 391.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/5.868, allocations: 247 kB / 3.048 GB, free: 391.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/5.869, allocations: 0.739 MB / 3.049 GB, free: 391.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/5.869, allocations: 50.38 kB / 3.049 GB, free: 391.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/5.869, allocations: 0.5073 MB / 3.05 GB, free: 391.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/5.87, allocations: 414.9 kB / 3.05 GB, free: 390.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/5.87, allocations: 19.31 kB / 3.05 GB, free: 390.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001039/5.87, allocations: 349.7 kB / 3.05 GB, free: 390.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/5.871, allocations: 479 kB / 3.051 GB, free: 390.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/5.872, allocations: 0.6146 MB / 3.051 GB, free: 390.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/5.873, allocations: 0.5196 MB / 3.052 GB, free: 390.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/5.873, allocations: 2.625 kB / 3.052 GB, free: 390.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003164/5.876, allocations: 1.354 MB / 3.053 GB, free: 390.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/5.876, allocations: 12.67 kB / 3.053 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/5.876, allocations: 0.9062 kB / 3.053 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/5.877, allocations: 87.27 kB / 3.053 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/5.879, allocations: 307.3 kB / 3.054 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/5.881, allocations: 1.541 MB / 3.055 GB, free: 389.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/5.882, allocations: 189.2 kB / 3.055 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/5.883, allocations: 50.16 kB / 3.055 GB, free: 389 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.pumCon.hys.y,pumCon.hys.y,$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 (132): * Single equations (assignments): 131 * 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.0003172/5.883, allocations: 165.2 kB / 3.056 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/5.883, allocations: 120.3 kB / 3.056 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/5.887, allocations: 1.753 MB / 3.057 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/5.887, allocations: 16.3 kB / 3.057 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/5.887, allocations: 1.609 kB / 3.057 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/5.888, allocations: 13.58 kB / 3.057 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/5.894, allocations: 3.433 MB / 3.061 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/5.894, allocations: 2.812 kB / 3.061 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/5.896, allocations: 302.1 kB / 3.061 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/5.897, allocations: 86.67 kB / 3.061 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/5.897, allocations: 43.05 kB / 3.061 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/5.898, allocations: 1.551 MB / 3.063 GB, free: 386.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/5.898, allocations: 4.906 kB / 3.063 GB, free: 386.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/5.902, allocations: 1.511 MB / 3.064 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008328/5.902, allocations: 435 kB / 3.065 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/5.903, allocations: 31.27 kB / 3.065 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/5.904, allocations: 139.4 kB / 3.065 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/5.904, allocations: 100.4 kB / 3.065 GB, free: 385.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/5.904, allocations: 53.12 kB / 3.065 GB, free: 385.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009899/5.905, allocations: 0.6062 MB / 3.066 GB, free: 384.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.905, allocations: 0 / 3.066 GB, free: 384.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001813/5.907, allocations: 0.5042 MB / 3.066 GB, free: 384.7 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: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.005548/5.913, allocations: 3.058 MB / 3.069 GB, free: 383.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002764/5.915, allocations: 1.355 MB / 3.07 GB, free: 382.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/5.916, allocations: 0 / 3.07 GB, free: 382.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/5.917, allocations: 0.8293 MB / 3.071 GB, free: 382.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/5.919, allocations: 269.5 kB / 3.071 GB, free: 382.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/5.925, allocations: 2.345 MB / 3.074 GB, free: 381.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/5.926, allocations: 1.191 MB / 3.075 GB, free: 380.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001986/5.928, allocations: 377.2 kB / 3.075 GB, free: 380.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/5.929, allocations: 0.5542 MB / 3.076 GB, free: 380.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/5.929, allocations: 0 / 3.076 GB, free: 380.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/6.02, allocations: 41.85 MB / 3.117 GB, free: 376.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/6.02, allocations: 248.8 kB / 3.117 GB, free: 376.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/9.362, allocations: 4 kB / 3.117 GB, free: 376.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat