Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.305/2.305, allocations: 387.4 MB / 394.8 MB, free: 13.38 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.001136/0.001136, allocations: 188.8 kB / 487.4 MB, free: 5.059 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.68/1.68, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.001067/0.001067, allocations: 91.84 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.294e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.314, allocations: 150 MB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.314, allocations: 90.38 kB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01017/1.324, allocations: 3.235 MB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.324, allocations: 3.938 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.324, allocations: 4 kB / 1.356 GB, free: 33.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004343/1.325, allocations: 429.5 kB / 1.356 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.325, allocations: 9.125 kB / 1.356 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/1.325, allocations: 3.844 kB / 1.356 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/1.325, allocations: 172.1 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/1.325, allocations: 0 / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.325, allocations: 3.938 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/1.325, allocations: 39.02 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/1.325, allocations: 63.11 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.325, allocations: 4 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.325, allocations: 3.656 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.325, allocations: 3.781 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/1.325, allocations: 265.1 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/1.326, allocations: 55.59 kB / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/1.326, allocations: 47.39 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/1.326, allocations: 0 / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/1.326, allocations: 30.56 kB / 1.357 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/1.326, allocations: 0 / 1.357 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002737/1.326, allocations: 102.5 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.326, allocations: 77.11 kB / 1.357 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/1.326, allocations: 119.7 kB / 1.357 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.326, allocations: 28.19 kB / 1.357 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/1.326, allocations: 92.7 kB / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/1.326, allocations: 3.906 kB / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/1.326, allocations: 7.906 kB / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.326, allocations: 320.5 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/1.326, allocations: 48.56 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/1.327, allocations: 49.94 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/1.327, allocations: 53.98 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.327, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001991/1.327, allocations: 143 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/1.327, allocations: 70.03 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.327, allocations: 0 / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.327, allocations: 0 / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/1.327, allocations: 6.812 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/1.327, allocations: 0 / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/1.327, allocations: 11.59 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/1.327, allocations: 3.875 kB / 1.358 GB, free: 31.86 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 8.858e-05/1.327, allocations: 137.4 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001665/1.327, allocations: 117.4 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/1.327, allocations: 3.906 kB / 1.358 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/1.327, allocations: 11.53 kB / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/1.327, allocations: 0 / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.327, allocations: 0 / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.328, allocations: 0 / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/1.328, allocations: 152.9 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.328, allocations: 0 / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/1.328, allocations: 6.719 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.328, allocations: 3.938 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.328, allocations: 4.031 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/1.328, allocations: 0 / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.328, allocations: 7.922 kB / 1.358 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/1.328, allocations: 210.8 kB / 1.359 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/1.328, allocations: 83.86 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/1.328, allocations: 4.062 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/1.328, allocations: 3.969 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/1.328, allocations: 14.39 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/1.328, allocations: 3.812 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.289e-05/1.328, allocations: 89.89 kB / 1.359 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.328, allocations: 0 / 1.359 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003897/1.329, allocations: 76.88 kB / 1.359 GB, free: 31.15 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0006608/1.329, allocations: 0.8012 MB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002493/1.33, allocations: 219.8 kB / 1.36 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/1.33, allocations: 3.844 kB / 1.36 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/1.33, allocations: 96.92 kB / 1.36 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/1.33, allocations: 1.031 kB / 1.36 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/1.33, allocations: 181.7 kB / 1.36 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/1.331, allocations: 0.6884 MB / 1.361 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.702e-05/1.331, allocations: 8 kB / 1.361 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/1.331, allocations: 13.98 kB / 1.361 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.331, allocations: 3.938 kB / 1.361 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/1.352, allocations: 2.105 MB / 1.363 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.352, allocations: 181.7 kB / 1.363 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.931, allocations: 5.031 kB / 1.363 GB, free: 29.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat does not exist to compare? outputFormat=mat