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.324/2.324, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.00138/0.00138, allocations: 175.6 kB / 487.4 MB, free: 5.055 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.618/1.618, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 98.3 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.777e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.789, allocations: 1.732 GB / 2.938 GB, free: 155.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/4.789, allocations: 93.77 kB / 2.938 GB, free: 155.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1338/4.923, allocations: 65.03 MB / 3.001 GB, free: 90.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.003e-06/4.923, allocations: 0 / 3.001 GB, free: 90.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.949e-05/4.923, allocations: 27.94 kB / 3.001 GB, free: 90.01 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.001781/4.925, allocations: 1.122 MB / 3.002 GB, free: 88.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/4.925, allocations: 8.031 kB / 3.002 GB, free: 88.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/4.926, allocations: 194.5 kB / 3.003 GB, free: 88.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/4.926, allocations: 0.6432 MB / 3.003 GB, free: 87.96 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/4.927, allocations: 24 kB / 3.003 GB, free: 87.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/4.927, allocations: 48 kB / 3.003 GB, free: 87.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/4.928, allocations: 0.9836 MB / 3.004 GB, free: 86.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/4.929, allocations: 0.7311 MB / 3.005 GB, free: 86.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/4.929, allocations: 3.938 kB / 3.005 GB, free: 86.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/4.929, allocations: 7.953 kB / 3.005 GB, free: 86.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/4.929, allocations: 20 kB / 3.005 GB, free: 86.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/4.932, allocations: 2.338 MB / 3.007 GB, free: 83.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/4.933, allocations: 0.6693 MB / 3.008 GB, free: 83.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/4.933, allocations: 251.1 kB / 3.008 GB, free: 82.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/4.933, allocations: 115.1 kB / 3.008 GB, free: 82.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/4.934, allocations: 399.8 kB / 3.009 GB, free: 82.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/4.934, allocations: 0 / 3.009 GB, free: 82.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001511/4.935, allocations: 0.6758 MB / 3.009 GB, free: 81.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/4.935, allocations: 244.1 kB / 3.01 GB, free: 81.25 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/4.936, allocations: 0.5463 MB / 3.01 GB, free: 80.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/4.936, allocations: 29.7 kB / 3.01 GB, free: 80.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/4.936, allocations: 400.2 kB / 3.011 GB, free: 80.27 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/4.936, allocations: 236.4 kB / 3.011 GB, free: 80.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/4.937, allocations: 0 / 3.011 GB, free: 80.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001066/4.937, allocations: 382.8 kB / 3.011 GB, free: 79.66 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/4.937, allocations: 197.5 kB / 3.011 GB, free: 79.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/4.937, allocations: 291.5 kB / 3.012 GB, free: 79.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/4.938, allocations: 260.4 kB / 3.012 GB, free: 78.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.938, allocations: 0 / 3.012 GB, free: 78.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001293/4.939, allocations: 0.6719 MB / 3.013 GB, free: 78.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/4.939, allocations: 4 kB / 3.013 GB, free: 78.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/4.939, allocations: 0 / 3.013 GB, free: 78.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/4.94, allocations: 84.83 kB / 3.013 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/4.94, allocations: 139.8 kB / 3.013 GB, free: 77.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/4.942, allocations: 1.473 MB / 3.014 GB, free: 76.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/4.942, allocations: 67.52 kB / 3.014 GB, free: 76.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/4.942, allocations: 23.98 kB / 3.014 GB, free: 76.29 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.0001542/4.942, allocations: 114.7 kB / 3.014 GB, free: 76.18 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001325/4.944, allocations: 0.6798 MB / 3.015 GB, free: 75.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/4.944, allocations: 75.06 kB / 3.015 GB, free: 75.41 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/4.946, allocations: 0.9267 MB / 3.016 GB, free: 74.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/4.946, allocations: 8 kB / 3.016 GB, free: 74.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/4.946, allocations: 0 / 3.016 GB, free: 74.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/4.946, allocations: 7.984 kB / 3.016 GB, free: 74.45 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/4.947, allocations: 0.7712 MB / 3.017 GB, free: 73.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/4.947, allocations: 3.938 kB / 3.017 GB, free: 73.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/4.947, allocations: 147.8 kB / 3.017 GB, free: 73.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/4.948, allocations: 80.78 kB / 3.017 GB, free: 73.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/4.948, allocations: 19.97 kB / 3.017 GB, free: 73.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/4.949, allocations: 1.496 MB / 3.018 GB, free: 71.78 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/4.949, allocations: 0 / 3.018 GB, free: 71.78 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/4.95, allocations: 0.7816 MB / 3.019 GB, free: 70.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/4.951, allocations: 287.7 kB / 3.02 GB, free: 70.67 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/4.951, allocations: 12.06 kB / 3.02 GB, free: 70.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/4.951, allocations: 51.94 kB / 3.02 GB, free: 70.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/4.952, allocations: 64.69 kB / 3.02 GB, free: 70.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/4.952, allocations: 27.98 kB / 3.02 GB, free: 70.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00049/4.952, allocations: 443.1 kB / 3.02 GB, free: 70.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/4.952, allocations: 0 / 3.02 GB, free: 70.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001168/4.953, allocations: 335 kB / 3.02 GB, free: 69.76 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.003439/4.957, allocations: 2.352 MB / 3.023 GB, free: 67.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001131/4.958, allocations: 0.6552 MB / 3.023 GB, free: 66.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/4.958, allocations: 4 kB / 3.023 GB, free: 66.82 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006125/4.959, allocations: 448.6 kB / 3.024 GB, free: 66.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/4.96, allocations: 236.8 kB / 3.024 GB, free: 66.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/4.963, allocations: 1.541 MB / 3.026 GB, free: 64.57 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/4.964, allocations: 1.039 MB / 3.027 GB, free: 63.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000766/4.964, allocations: 253.7 kB / 3.027 GB, free: 63.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/4.965, allocations: 383.3 kB / 3.027 GB, free: 62.88 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/4.965, allocations: 0 / 3.027 GB, free: 62.88 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/5.014, allocations: 24.25 MB / 3.051 GB, free: 38.77 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/5.014, allocations: 200 kB / 3.051 GB, free: 38.58 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/7.838, allocations: 0 / 3.051 GB, free: 38.58 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