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.419/2.419, allocations: 390.5 MB / 398 MB, free: 10.94 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.001068/0.001068, allocations: 180 kB / 491.2 MB, free: 1.602 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.808/1.808, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009907/0.0009906, allocations: 94.81 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.795e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3808, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/6.172, allocations: 1.733 GB / 2.945 GB, free: 105.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/6.173, allocations: 94.75 kB / 2.945 GB, free: 105.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1452/6.318, allocations: 65.46 MB / 3.009 GB, free: 45.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.586e-06/6.318, allocations: 0 / 3.009 GB, free: 45.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001448/6.318, allocations: 31.92 kB / 3.009 GB, free: 45.21 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.003274/6.321, allocations: 1.109 MB / 3.01 GB, free: 44.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/6.321, allocations: 16.03 kB / 3.01 GB, free: 44.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/6.323, allocations: 190.5 kB / 3.01 GB, free: 43.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/6.324, allocations: 0.6355 MB / 3.011 GB, free: 43.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/6.324, allocations: 32 kB / 3.011 GB, free: 43.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/6.324, allocations: 44 kB / 3.011 GB, free: 43.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/6.326, allocations: 0.9913 MB / 3.012 GB, free: 42.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/6.327, allocations: 0.7311 MB / 3.013 GB, free: 41.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/6.327, allocations: 3.953 kB / 3.013 GB, free: 41.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/6.327, allocations: 4 kB / 3.013 GB, free: 41.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/6.327, allocations: 20 kB / 3.013 GB, free: 41.31 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/6.331, allocations: 2.341 MB / 3.015 GB, free: 38.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/6.332, allocations: 0.6725 MB / 3.016 GB, free: 38.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/6.333, allocations: 251.2 kB / 3.016 GB, free: 37.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/6.333, allocations: 113.9 kB / 3.016 GB, free: 37.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/6.334, allocations: 399.7 kB / 3.016 GB, free: 37.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 4.018e-06/6.334, allocations: 3.984 kB / 3.016 GB, free: 37.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001775/6.335, allocations: 0.6758 MB / 3.017 GB, free: 36.75 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/6.336, allocations: 248.1 kB / 3.017 GB, free: 36.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/6.336, allocations: 0.5386 MB / 3.018 GB, free: 35.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/6.336, allocations: 25.7 kB / 3.018 GB, free: 35.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/6.337, allocations: 404.2 kB / 3.018 GB, free: 35.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/6.337, allocations: 228.5 kB / 3.018 GB, free: 35.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/6.337, allocations: 0 / 3.018 GB, free: 35.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001442/6.337, allocations: 382.8 kB / 3.019 GB, free: 34.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/6.337, allocations: 197.5 kB / 3.019 GB, free: 34.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/6.338, allocations: 303.5 kB / 3.019 GB, free: 34.35 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/6.338, allocations: 244.5 kB / 3.019 GB, free: 34.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/6.338, allocations: 0 / 3.019 GB, free: 34.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001475/6.34, allocations: 0.6835 MB / 3.02 GB, free: 33.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/6.34, allocations: 9.25 kB / 3.02 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/6.34, allocations: 0 / 3.02 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/6.34, allocations: 84.84 kB / 3.02 GB, free: 33.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/6.341, allocations: 143.8 kB / 3.02 GB, free: 33.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/6.343, allocations: 1.461 MB / 3.022 GB, free: 31.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/6.343, allocations: 67.5 kB / 3.022 GB, free: 31.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/6.343, allocations: 27.98 kB / 3.022 GB, free: 31.5 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.000172/6.343, allocations: 116.8 kB / 3.022 GB, free: 31.38 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001431/6.345, allocations: 0.6758 MB / 3.023 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/6.345, allocations: 79.06 kB / 3.023 GB, free: 30.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/6.347, allocations: 0.9308 MB / 3.024 GB, free: 29.67 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/6.347, allocations: 11.94 kB / 3.024 GB, free: 29.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/6.347, allocations: 0 / 3.024 GB, free: 29.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/6.347, allocations: 3.984 kB / 3.024 GB, free: 29.66 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/6.348, allocations: 0.7712 MB / 3.024 GB, free: 28.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/6.348, allocations: 0 / 3.024 GB, free: 28.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/6.348, allocations: 151.8 kB / 3.025 GB, free: 28.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/6.349, allocations: 80.78 kB / 3.025 GB, free: 28.62 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/6.349, allocations: 15.94 kB / 3.025 GB, free: 28.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/6.35, allocations: 1.5 MB / 3.026 GB, free: 26.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/6.35, allocations: 144 / 3.026 GB, free: 26.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/6.352, allocations: 0.7894 MB / 3.027 GB, free: 26.17 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/6.352, allocations: 283.7 kB / 3.027 GB, free: 25.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/6.352, allocations: 4 kB / 3.027 GB, free: 25.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/6.353, allocations: 51.95 kB / 3.027 GB, free: 25.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/6.353, allocations: 60.69 kB / 3.027 GB, free: 25.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/6.353, allocations: 27.98 kB / 3.027 GB, free: 25.73 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004645/6.353, allocations: 447.1 kB / 3.028 GB, free: 25.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/6.353, allocations: 0 / 3.028 GB, free: 25.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001157/6.354, allocations: 335.1 kB / 3.028 GB, free: 24.97 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.003561/6.358, allocations: 2.357 MB / 3.03 GB, free: 22.69 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00112/6.359, allocations: 0.6512 MB / 3.031 GB, free: 22.03 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/6.359, allocations: 0 / 3.031 GB, free: 22.03 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/6.36, allocations: 452.7 kB / 3.031 GB, free: 21.58 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/6.361, allocations: 237.8 kB / 3.032 GB, free: 21.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/6.365, allocations: 1.541 MB / 3.033 GB, free: 19.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/6.365, allocations: 1.035 MB / 3.034 GB, free: 18.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007781/6.366, allocations: 257.8 kB / 3.034 GB, free: 18.45 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/6.366, allocations: 383.3 kB / 3.035 GB, free: 18.08 MB / 1.151 GB Notification: Performance of SimCode: time 3.3e-07/6.366, allocations: 0 / 3.035 GB, free: 18.08 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9697/7.336, allocations: 24.25 MB / 3.058 GB, free: 387.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/7.336, allocations: 209.8 kB / 3.059 GB, free: 387.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/10.64, allocations: 3.094 kB / 3.059 GB, free: 387.2 MB / 1.151 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