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.001095/0.001095, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001085/0.001085, allocations: 161 kB / 23.82 MB, free: 0.7461 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.948/0.948, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.778/1.778, allocations: 377.9 MB / 0.6236 GB, free: 8.551 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.683e-06/1.683e-06, allocations: 0 / 0.8116 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.269e-05, allocations: 4.984 kB / 0.8116 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001893/0.001916, allocations: 1.487 MB / 0.813 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002965, allocations: 0.8154 MB / 0.8138 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.002997, allocations: 0.9375 kB / 0.8138 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.401e-05/0.003071, allocations: 0 / 0.8138 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.003128, allocations: 8.969 kB / 0.8138 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.003668, allocations: 181 kB / 0.814 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.003771, allocations: 43.97 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.003845, allocations: 8.719 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.003892, allocations: 23.92 kB / 0.8141 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.003943, allocations: 25.64 kB / 0.8141 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003957, allocations: 4 kB / 0.8141 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.004205, allocations: 203.7 kB / 0.8143 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.004248, allocations: 11.94 kB / 0.8143 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.004279, allocations: 21.5 kB / 0.8143 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.004522, allocations: 219.4 kB / 0.8145 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004524, allocations: 0 / 0.8145 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004525, allocations: 0 / 0.8145 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.004532, allocations: 1.094 kB / 0.8145 GB, free: 13.54 MB / 0.7292 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.0003983/0.00493, allocations: 459.6 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.004963, allocations: 8.031 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.005006, allocations: 10.52 kB / 0.815 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.005086, allocations: 112.6 kB / 0.8151 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.005097, allocations: 4.375 kB / 0.8151 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.005109, allocations: 4.375 kB / 0.8151 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005263, allocations: 117.3 kB / 0.8152 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00527, allocations: 192 / 0.8152 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.00528, allocations: 4.906 kB / 0.8152 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005287, allocations: 9.5 kB / 0.8152 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.005337, allocations: 61.69 kB / 0.8153 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.005635, allocations: 279.7 kB / 0.8156 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.00571, allocations: 80.75 kB / 0.8156 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.005759, allocations: 70.06 kB / 0.8157 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.00577, allocations: 4 kB / 0.8157 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.005792, allocations: 41.95 kB / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.005794, allocations: 0.6875 kB / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002379/0.006032, allocations: 226.7 kB / 0.816 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.006067, allocations: 77.95 kB / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.006159, allocations: 181.9 kB / 0.8162 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.00617, allocations: 27.08 kB / 0.8162 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.006217, allocations: 134.9 kB / 0.8164 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.006232, allocations: 7.906 kB / 0.8164 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.006267, allocations: 31.36 kB / 0.8164 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.006369, allocations: 0.4901 MB / 0.8169 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.006437, allocations: 95.38 kB / 0.817 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.006501, allocations: 99.38 kB / 0.8171 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.00662, allocations: 176.7 kB / 0.8172 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006622, allocations: 0 / 0.8172 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001675/0.00679, allocations: 242.7 kB / 0.8175 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.006835, allocations: 73.52 kB / 0.8175 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006841, allocations: 240 / 0.8175 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006853, allocations: 0 / 0.8175 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.00691, allocations: 4 kB / 0.8175 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.006915, allocations: 0 / 0.8175 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.006939, allocations: 15.06 kB / 0.8176 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.006948, allocations: 3.984 kB / 0.8176 GB, free: 10.11 MB / 0.7292 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 8.307e-05/0.007031, allocations: 190.2 kB / 0.8177 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.007049, allocations: 11.88 kB / 0.8177 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.007071, allocations: 8 kB / 0.8178 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007072, allocations: 0 / 0.8178 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.007076, allocations: 0 / 0.8178 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007079, allocations: 1.25 kB / 0.8178 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.007183, allocations: 132.5 kB / 0.8179 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.007186, allocations: 4.062 kB / 0.8179 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.007202, allocations: 4.625 kB / 0.8179 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007204, allocations: 4 kB / 0.8179 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.007213, allocations: 4.5 kB / 0.8179 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.007213, allocations: 0 / 0.8179 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007214, allocations: 0.8438 kB / 0.8179 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.007405, allocations: 315.2 kB / 0.8182 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.007412, allocations: 5.047 kB / 0.8182 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.007427, allocations: 7.938 kB / 0.8182 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/0.007459, allocations: 7.984 kB / 0.8182 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.007526, allocations: 10.38 kB / 0.8182 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007531, allocations: 4 kB / 0.8182 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.007578, allocations: 135.2 kB / 0.8184 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007578, allocations: 0 / 0.8184 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002052/0.007783, allocations: 55.92 kB / 0.8184 GB, free: 9.145 MB / 0.7292 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.0002052/0.007988, allocations: 159.6 kB / 0.8186 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.008218, allocations: 296.3 kB / 0.8189 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008219, allocations: 0 / 0.8189 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.008294, allocations: 129.7 kB / 0.819 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008455, allocations: 5.219 kB / 0.819 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.008771, allocations: 207.7 kB / 0.8192 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.008811, allocations: 63.34 kB / 0.8192 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.008828, allocations: 4.781 kB / 0.8192 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.008851, allocations: 9.312 kB / 0.8193 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.008851, allocations: 0 / 0.8193 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.003856/0.01271, allocations: 1.999 MB / 0.8212 GB, free: 6.223 MB / 0.7292 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: 4.918376563116908]