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.253/2.253, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001099/0.001099, allocations: 176 kB / 0.4901 GB, free: 2.238 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.545/1.545, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008966/0.0008965, allocations: 100.1 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 10.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.294/4.63, allocations: 1.733 GB / 2.963 GB, free: 253.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/4.63, allocations: 96.97 kB / 2.963 GB, free: 253.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.14/4.77, allocations: 66.65 MB / 3.028 GB, free: 186.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.164e-06/4.77, allocations: 0 / 3.028 GB, free: 186.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.841e-05/4.77, allocations: 27.94 kB / 3.028 GB, free: 186.4 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.00199/4.772, allocations: 1.246 MB / 3.029 GB, free: 185.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/4.772, allocations: 8.031 kB / 3.029 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/4.772, allocations: 131 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/4.773, allocations: 194.4 kB / 3.029 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/4.774, allocations: 0.6393 MB / 3.03 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/4.774, allocations: 58 kB / 3.03 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/4.774, allocations: 80 kB / 3.03 GB, free: 184 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/4.775, allocations: 0.8754 MB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/4.775, allocations: 7.938 kB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/4.775, allocations: 39.95 kB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/4.776, allocations: 20 kB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/4.777, allocations: 1.097 MB / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/4.78, allocations: 2.504 MB / 3.034 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/4.781, allocations: 0.7503 MB / 3.035 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/4.781, allocations: 117.8 kB / 3.035 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/4.782, allocations: 451.5 kB / 3.036 GB, free: 178 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.968e-06/4.782, allocations: 0 / 3.036 GB, free: 178 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002802/4.785, allocations: 1.147 MB / 3.037 GB, free: 176.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/4.785, allocations: 244 kB / 3.037 GB, free: 176.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/4.786, allocations: 0.6286 MB / 3.038 GB, free: 175.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/4.786, allocations: 41.7 kB / 3.038 GB, free: 175.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/4.786, allocations: 404.3 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/4.786, allocations: 232.6 kB / 3.038 GB, free: 175.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/4.786, allocations: 16 kB / 3.038 GB, free: 175.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001051/4.786, allocations: 386.8 kB / 3.039 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/4.787, allocations: 229.2 kB / 3.039 GB, free: 174.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/4.787, allocations: 347.6 kB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/4.788, allocations: 275.1 kB / 3.04 GB, free: 173.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/4.788, allocations: 0 / 3.04 GB, free: 173.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00157/4.789, allocations: 0.7664 MB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/4.789, allocations: 4 kB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/4.789, allocations: 3.984 kB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/4.79, allocations: 84.78 kB / 3.04 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/4.791, allocations: 139.8 kB / 3.041 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/4.792, allocations: 1.552 MB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/4.793, allocations: 83.42 kB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/4.793, allocations: 31.98 kB / 3.042 GB, free: 171.1 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 () * Number of clocked 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.0004664/4.794, allocations: 263.1 kB / 3.042 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/4.794, allocations: 86.95 kB / 3.042 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/4.796, allocations: 1.03 MB / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/4.796, allocations: 11.98 kB / 3.044 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/4.796, allocations: 3.953 kB / 3.044 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/4.796, allocations: 3.984 kB / 3.044 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/4.797, allocations: 0.9151 MB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/4.797, allocations: 4 kB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/4.797, allocations: 147.8 kB / 3.045 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/4.798, allocations: 84.77 kB / 3.045 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/4.798, allocations: 23.98 kB / 3.045 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/4.799, allocations: 1.559 MB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.799, allocations: 12.02 kB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/4.801, allocations: 0.8732 MB / 3.047 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/4.801, allocations: 299.6 kB / 3.047 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/4.801, allocations: 16 kB / 3.047 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/4.802, allocations: 71.94 kB / 3.047 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/4.802, allocations: 60.91 kB / 3.047 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/4.802, allocations: 31.92 kB / 3.048 GB, free: 165.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005882/4.803, allocations: 0.5107 MB / 3.048 GB, free: 164.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/4.803, allocations: 0 / 3.048 GB, free: 164.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001029/4.804, allocations: 363.2 kB / 3.048 GB, free: 164.5 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) * Number of clocked states: 0 () * 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.003604/4.807, allocations: 2.436 MB / 3.051 GB, free: 162.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00137/4.809, allocations: 0.7473 MB / 3.051 GB, free: 161.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/4.809, allocations: 4 kB / 3.051 GB, free: 161.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007372/4.81, allocations: 0.4926 MB / 3.052 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/4.811, allocations: 261 kB / 3.052 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/4.819, allocations: 5.387 MB / 3.057 GB, free: 155.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/4.819, allocations: 1.046 MB / 3.058 GB, free: 154.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008459/4.82, allocations: 250.2 kB / 3.059 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/4.821, allocations: 375.3 kB / 3.059 GB, free: 153.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.563e-06/4.821, allocations: 3.938 kB / 3.059 GB, free: 153.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05171/4.872, allocations: 30.77 MB / 3.089 GB, free: 123.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/4.873, allocations: 288.4 kB / 3.089 GB, free: 122.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/8.188, allocations: 0 / 3.089 GB, free: 122.8 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