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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001155/0.001155, allocations: 192.7 kB / 487.4 MB, free: 5.051 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.603/1.603, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.001008/0.001008, allocations: 106 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.735e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.358, allocations: 150 MB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.358, allocations: 93.34 kB / 1.353 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01095/1.369, allocations: 3.238 MB / 1.356 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.369, allocations: 0 / 1.356 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.369, allocations: 3.25 kB / 1.356 GB, free: 34.05 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.0004685/1.37, allocations: 426.2 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.37, allocations: 7.656 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/1.37, allocations: 11.23 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.37, allocations: 176.3 kB / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/1.37, allocations: 0 / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/1.37, allocations: 3.812 kB / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/1.37, allocations: 36.06 kB / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.37, allocations: 66.97 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.37, allocations: 4 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.37, allocations: 0 / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.37, allocations: 3.812 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/1.371, allocations: 266.9 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.842e-05/1.371, allocations: 50.12 kB / 1.357 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/1.371, allocations: 42.64 kB / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/1.371, allocations: 4 kB / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/1.371, allocations: 31.17 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/1.371, allocations: 0 / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003025/1.371, allocations: 103.1 kB / 1.357 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.371, allocations: 88.86 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.371, allocations: 112.7 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.371, allocations: 25.7 kB / 1.357 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/1.371, allocations: 95.77 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/1.371, allocations: 3.906 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.372, allocations: 3.875 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.372, allocations: 320.4 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/1.372, allocations: 47.69 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/1.372, allocations: 50.03 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/1.372, allocations: 51.05 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.372, allocations: 0 / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001973/1.372, allocations: 143.1 kB / 1.358 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.372, allocations: 62.06 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.372, allocations: 4 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.372, allocations: 2.766 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/1.372, allocations: 3.875 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.372, allocations: 0 / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/1.372, allocations: 14.34 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/1.372, allocations: 5.594 kB / 1.358 GB, free: 32.28 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 9.96e-05/1.373, allocations: 142.4 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/1.373, allocations: 7.844 kB / 1.358 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/1.373, allocations: 7.719 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.373, allocations: 0 / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.373, allocations: 3.875 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.373, allocations: 0 / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/1.373, allocations: 150.9 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.373, allocations: 3.953 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/1.373, allocations: 10.88 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.373, allocations: 3.938 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.373, allocations: 0 / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.373, allocations: 7.781 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.373, allocations: 0 / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/1.373, allocations: 203 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/1.373, allocations: 88.2 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.373, allocations: 96 / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/1.373, allocations: 7.719 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/1.373, allocations: 14.22 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/1.373, allocations: 8.094 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.347e-05/1.373, allocations: 98.44 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.373, allocations: 0 / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003496/1.374, allocations: 76.62 kB / 1.359 GB, free: 31.61 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.0002922/1.374, allocations: 154.2 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002406/1.374, allocations: 222.6 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.374, allocations: 0 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/1.374, allocations: 98.08 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/1.375, allocations: 4.812 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/1.375, allocations: 124.7 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/1.375, allocations: 0.6927 MB / 1.36 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.162e-05/1.375, allocations: 3.938 kB / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/1.375, allocations: 7.438 kB / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.375, allocations: 0 / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.004036/1.379, allocations: 1.526 MB / 1.361 GB, free: 30.41 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches