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.001681/0.001681, allocations: 118.2 kB / 17.13 MB, free: 6.008 MB / 14.72 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.00181/0.00181, allocations: 212.7 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.956/2.956, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 75.89 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002451/1.065, allocations: 1.456 MB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001264/1.066, allocations: 0.8349 MB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/1.066, allocations: 2.531 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.213e-05/1.067, allocations: 0 / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/1.067, allocations: 7.125 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/1.067, allocations: 173.7 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/1.067, allocations: 44.38 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/1.067, allocations: 6.625 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/1.067, allocations: 25.02 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/1.067, allocations: 20.22 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/1.067, allocations: 6.062 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/1.068, allocations: 204.6 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/1.068, allocations: 15.27 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/1.068, allocations: 21.23 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/1.068, allocations: 196.3 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/1.068, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.068, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.799e-06/1.068, allocations: 0 / 1.325 GB, free: 23.25 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.0004557/1.068, allocations: 432.4 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.069, allocations: 14.7 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/1.069, allocations: 7.828 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/1.069, allocations: 170.7 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/1.069, allocations: 8.375 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/1.069, allocations: 10.98 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/1.069, allocations: 79.95 kB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/1.069, allocations: 2.875 kB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.069, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.069, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.069, allocations: 50.84 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/1.069, allocations: 283 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.069, allocations: 55.3 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/1.069, allocations: 44.73 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/1.07, allocations: 0 / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/1.07, allocations: 33.22 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/1.07, allocations: 3.938 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003728/1.07, allocations: 187.9 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.07, allocations: 80.17 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/1.07, allocations: 128.6 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/1.07, allocations: 25.7 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/1.07, allocations: 94.83 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/1.07, allocations: 6.766 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/1.07, allocations: 21.89 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/1.07, allocations: 324.9 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/1.07, allocations: 53.2 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/1.07, allocations: 59.88 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.071, allocations: 199.8 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.071, allocations: 3.234 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003183/1.071, allocations: 216 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/1.071, allocations: 59.62 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.071, allocations: 3.469 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.071, allocations: 5.125 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/1.071, allocations: 2.438 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.071, allocations: 0.5 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/1.071, allocations: 9.469 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/1.071, allocations: 5.781 kB / 1.327 GB, free: 21.02 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 8.863e-05/1.071, allocations: 150.1 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/1.071, allocations: 6.453 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/1.071, allocations: 10.22 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/1.071, allocations: 4 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.071, allocations: 0 / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.071, allocations: 0.7812 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/1.071, allocations: 181.8 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.071, allocations: 0 / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/1.071, allocations: 7.312 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.071, allocations: 0 / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.071, allocations: 4.938 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/1.071, allocations: 0.9062 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.071, allocations: 0 / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/1.072, allocations: 248.5 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/1.072, allocations: 89.81 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.072, allocations: 2.125 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/1.072, allocations: 6.938 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.072, allocations: 6.031 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.072, allocations: 2.094 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.149e-05/1.072, allocations: 97.7 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.072, allocations: 4.031 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000344/1.072, allocations: 64.39 kB / 1.328 GB, free: 20.24 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.0003064/1.073, allocations: 152.3 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003698/1.073, allocations: 229.8 kB / 1.329 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.073, allocations: 0 / 1.329 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/1.073, allocations: 103.5 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/1.073, allocations: 12.84 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/1.074, allocations: 218.9 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/1.074, allocations: 0.6817 MB / 1.33 GB, free: 19.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/1.074, allocations: 16 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.074, allocations: 0 / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of Templates: time 0.004273/1.078, allocations: 1.492 MB / 1.331 GB, free: 18.91 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.175333572988166]