Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001294/0.001294, allocations: 184 kB / 492.3 MB, free: 0.6172 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.411/1.411, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008569/0.0008571, allocations: 97.61 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.592e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2736, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.289, allocations: 149.8 MB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/1.289, allocations: 86.83 kB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003955/1.293, allocations: 1.254 MB / 1.36 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.293, allocations: 0 / 1.36 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.293, allocations: 0 / 1.36 GB, free: 34.71 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004659/1.294, allocations: 406.8 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.294, allocations: 11.56 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/1.294, allocations: 32.48 kB / 1.361 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/1.294, allocations: 16.88 kB / 1.361 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/1.294, allocations: 171.9 kB / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/1.294, allocations: 3.969 kB / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/1.294, allocations: 0 / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.294, allocations: 68.91 kB / 1.361 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/1.294, allocations: 0 / 1.361 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.294, allocations: 0 / 1.361 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.294, allocations: 3.844 kB / 1.361 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/1.294, allocations: 32.84 kB / 1.361 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/1.295, allocations: 306.2 kB / 1.361 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/1.295, allocations: 58.91 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/1.295, allocations: 28.72 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/1.295, allocations: 0 / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/1.295, allocations: 37.81 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/1.295, allocations: 0 / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000186/1.295, allocations: 66.61 kB / 1.361 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.295, allocations: 55.36 kB / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/1.295, allocations: 112.1 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/1.296, allocations: 32.7 kB / 1.361 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/1.296, allocations: 88.55 kB / 1.362 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/1.296, allocations: 20.52 kB / 1.362 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.296, allocations: 0 / 1.362 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/1.296, allocations: 319.6 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/1.296, allocations: 17.44 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/1.296, allocations: 16.28 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/1.296, allocations: 18.66 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.296, allocations: 0 / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/1.296, allocations: 72.98 kB / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.296, allocations: 3.844 kB / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.296, allocations: 0 / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.296, allocations: 1.312 kB / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/1.296, allocations: 44.48 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.296, allocations: 0 / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.296, allocations: 25.39 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.296, allocations: 10.91 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/1.296, allocations: 101 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/1.296, allocations: 7.75 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/1.296, allocations: 11.31 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.296, allocations: 0 / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.297, allocations: 3.844 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.297, allocations: 3.984 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/1.297, allocations: 190.3 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.297, allocations: 3.938 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/1.297, allocations: 39.81 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.297, allocations: 3.938 kB / 1.362 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.297, allocations: 0 / 1.362 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.297, allocations: 256 / 1.362 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.297, allocations: 0 / 1.362 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/1.297, allocations: 184.5 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/1.297, allocations: 83.88 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/1.297, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.297, allocations: 27.77 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/1.297, allocations: 9.734 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/1.297, allocations: 3 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.292e-05/1.297, allocations: 91.17 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.297, allocations: 3.844 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001968/1.298, allocations: 18.81 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003745/1.298, allocations: 0.7072 MB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001135/1.298, allocations: 41.75 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.298, allocations: 4 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/1.298, allocations: 21.81 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/1.298, allocations: 18.02 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.299, allocations: 132.5 kB / 1.364 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.299, allocations: 0.6888 MB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.583e-05/1.299, allocations: 6.859 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/1.299, allocations: 24.84 kB / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.299, allocations: 0 / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/1.311, allocations: 1.73 MB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.311, allocations: 176.8 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.956, allocations: 0 / 1.366 GB, free: 30.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat does not exist to compare? outputFormat=mat