Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9998/0.9998, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.825/1.825, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.545e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001947/0.001963, allocations: 1.498 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003024, allocations: 0.7963 MB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.003062, allocations: 0 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.00313, allocations: 5.625 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.003182, allocations: 7.938 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.003754, allocations: 177 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.003853, allocations: 47.91 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.003915, allocations: 0.6875 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.003961, allocations: 19.98 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.004011, allocations: 24.8 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004024, allocations: 4 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.004307, allocations: 209.2 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.004349, allocations: 8 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.004377, allocations: 23.91 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.00461, allocations: 211.5 kB / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.004612, allocations: 0.5312 kB / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004613, allocations: 0 / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004617, allocations: 4.719 kB / 0.8158 GB, free: 14.4 MB / 0.7761 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.0003753/0.004993, allocations: 464.1 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.005022, allocations: 8.031 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.005052, allocations: 10.59 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.005133, allocations: 116.5 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.005144, allocations: 4.375 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.005153, allocations: 4.375 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.00528, allocations: 101.1 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.005286, allocations: 0.7812 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.005293, allocations: 4.375 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005298, allocations: 4.719 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.005336, allocations: 49.69 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.005572, allocations: 245.6 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.00564, allocations: 72.75 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.005677, allocations: 61.39 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.005687, allocations: 1.375 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.005709, allocations: 41.38 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00571, allocations: 0 / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000194/0.005904, allocations: 188.4 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.005939, allocations: 81.09 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.006026, allocations: 181.9 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.006037, allocations: 25.7 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.006087, allocations: 138.8 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.006101, allocations: 14.14 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.006133, allocations: 23.38 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.006255, allocations: 0.4923 MB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.006305, allocations: 79.33 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.006346, allocations: 83.33 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.006433, allocations: 140.8 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006435, allocations: 2.781 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.006574, allocations: 208.5 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.006608, allocations: 59.41 kB / 0.8185 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.006613, allocations: 3.938 kB / 0.8185 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.00662, allocations: 0 / 0.8185 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.006661, allocations: 7.984 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006664, allocations: 0 / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.006687, allocations: 13.42 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.006694, allocations: 3.938 kB / 0.8186 GB, free: 11.19 MB / 0.7761 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.006773, allocations: 190.3 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.006791, allocations: 4.5 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.006809, allocations: 12.45 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006811, allocations: 0 / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.006813, allocations: 0.5625 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006815, allocations: 1.375 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.598e-05/0.006911, allocations: 109.2 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006912, allocations: 0 / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.006923, allocations: 4 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.006925, allocations: 2.594 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.006932, allocations: 4 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006933, allocations: 4.062 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.006936, allocations: 3.938 kB / 0.8189 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.007103, allocations: 295.2 kB / 0.8192 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.00711, allocations: 3.953 kB / 0.8192 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007122, allocations: 4 kB / 0.8192 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.007157, allocations: 4.609 kB / 0.8192 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.007204, allocations: 9.062 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.007209, allocations: 4 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.007252, allocations: 135.2 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007252, allocations: 1.031 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002378/0.00749, allocations: 55.92 kB / 0.8194 GB, free: 10.29 MB / 0.7761 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.00767, allocations: 163.9 kB / 0.8195 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.007856, allocations: 268.2 kB / 0.8198 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007858, allocations: 0 / 0.8198 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.00792, allocations: 116.5 kB / 0.8199 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.008064, allocations: 11.94 kB / 0.8199 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.008306, allocations: 187.9 kB / 0.8201 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.00834, allocations: 63.2 kB / 0.8202 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.008356, allocations: 0 / 0.8202 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.00841, allocations: 78.2 kB / 0.8202 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.00841, allocations: 0 / 0.8202 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of Templates: time 0.003462/0.01187, allocations: 2.048 MB / 0.8222 GB, free: 7.301 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0911658448167145]