Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.953, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002194/0.9552, allocations: 1.46 MB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.9563, allocations: 0.7981 MB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.9564, allocations: 0 / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.9565, allocations: 3.938 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.9565, allocations: 6.094 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.9571, allocations: 168.5 kB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.9572, allocations: 45.8 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.9572, allocations: 10.25 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.9573, allocations: 16.88 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.9573, allocations: 12.53 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.9573, allocations: 5.188 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.9576, allocations: 211.9 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.9576, allocations: 9.594 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.9577, allocations: 24.73 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.9579, allocations: 187 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9579, allocations: 6.781 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9579, allocations: 0 / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.9579, allocations: 3.938 kB / 1.308 GB, free: 31.66 MB / 1.061 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.0003871/0.9583, allocations: 431.3 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.9583, allocations: 9.062 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.9583, allocations: 7.641 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.9584, allocations: 170.8 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9584, allocations: 384 / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.9584, allocations: 3.375 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.9586, allocations: 84.88 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.9586, allocations: 0 / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.9586, allocations: 10.86 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.9586, allocations: 0 / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.9587, allocations: 51.12 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.959, allocations: 274.9 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.9591, allocations: 58.14 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.9592, allocations: 47.02 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9592, allocations: 0 / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.9592, allocations: 30.56 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9592, allocations: 0 / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003362/0.9596, allocations: 187.4 kB / 1.31 GB, free: 30.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.9596, allocations: 80.11 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.9597, allocations: 129.9 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.9597, allocations: 25.7 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.9597, allocations: 93.72 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.9597, allocations: 11.05 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.9598, allocations: 19.47 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.9598, allocations: 317 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.9599, allocations: 55.78 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.96, allocations: 64.58 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.9602, allocations: 197.6 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9602, allocations: 0 / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000216/0.9604, allocations: 217.2 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.9604, allocations: 68.02 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9604, allocations: 0 / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9604, allocations: 0 / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.9605, allocations: 2.875 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9605, allocations: 0 / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.9605, allocations: 11.81 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.9605, allocations: 3 kB / 1.311 GB, free: 29.45 MB / 1.061 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 6.895e-05/0.9606, allocations: 151.7 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.9606, allocations: 10.77 kB / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.9607, allocations: 3.906 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9607, allocations: 0 / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9607, allocations: 8 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9607, allocations: 2.969 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.9608, allocations: 179.6 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9608, allocations: 3.938 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.9608, allocations: 2.875 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9608, allocations: 0 / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.9608, allocations: 2.812 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9608, allocations: 0 / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9608, allocations: 3.703 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.961, allocations: 248.9 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.961, allocations: 84.38 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.9611, allocations: 2.469 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.9611, allocations: 2.781 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.9612, allocations: 10.05 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.9613, allocations: 2.844 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.9613, allocations: 94 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9613, allocations: 0 / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003144/0.9616, allocations: 59.11 kB / 1.312 GB, free: 28.68 MB / 1.061 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.0002244/0.9618, allocations: 160.6 kB / 1.312 GB, free: 28.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.9621, allocations: 228.7 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9621, allocations: 2.938 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.9622, allocations: 98.16 kB / 1.312 GB, free: 28.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.9624, allocations: 10.94 kB / 1.312 GB, free: 28.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.9627, allocations: 190.6 kB / 1.312 GB, free: 28.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.9628, allocations: 0.694 MB / 1.313 GB, free: 27.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.9628, allocations: 3.938 kB / 1.313 GB, free: 27.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.9629, allocations: 10.19 kB / 1.313 GB, free: 27.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9629, allocations: 0 / 1.313 GB, free: 27.5 MB / 1.061 GB Notification: Performance of Templates: time 0.004039/0.9669, allocations: 1.783 MB / 1.315 GB, free: 27.36 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.086328365840018]