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.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.001523/0.001523, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00192/0.00192, allocations: 217.5 kB / 23.01 MB, free: 4.566 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.329/3.329, allocations: 0.505 GB / 0.8108 GB, free: 22.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002232/0.002232, allocations: 69.38 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3453, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002716/0.348, allocations: 1.48 MB / 1.356 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3495, allocations: 0.8415 MB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.3495, allocations: 0 / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.3496, allocations: 3.938 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.3496, allocations: 4 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.3503, allocations: 187.5 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3504, allocations: 43.97 kB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.3505, allocations: 0 / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.3505, allocations: 19.92 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.3506, allocations: 31.84 kB / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3506, allocations: 4 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.351, allocations: 223.7 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.351, allocations: 4.562 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3511, allocations: 31.84 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3514, allocations: 187.5 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3514, allocations: 0 / 1.357 GB, free: 4.902 MB / 1.045 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.0004963/0.3519, allocations: 357.3 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3519, allocations: 12.03 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3519, allocations: 8.891 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3521, allocations: 110.5 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3521, allocations: 8.375 kB / 1.358 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3521, allocations: 3.938 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3523, allocations: 77.59 kB / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3523, allocations: 0 / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3523, allocations: 4 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3523, allocations: 0 / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3524, allocations: 47.95 kB / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3528, allocations: 251.9 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3529, allocations: 58.48 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.353, allocations: 52.84 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.353, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3531, allocations: 34.56 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3531, allocations: 0 / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004102/0.3535, allocations: 183.3 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3535, allocations: 81.11 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3537, allocations: 125.8 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3537, allocations: 33.64 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3537, allocations: 84.14 kB / 1.359 GB, free: 3.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3538, allocations: 7.953 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3538, allocations: 25.73 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.354, allocations: 322.8 kB / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3541, allocations: 59.95 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3542, allocations: 51.97 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3544, allocations: 193.9 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3544, allocations: 3.938 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003112/0.3547, allocations: 217 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.3548, allocations: 69.42 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3548, allocations: 4 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3548, allocations: 0 / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.3549, allocations: 11.92 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3549, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.3549, allocations: 11.94 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3549, allocations: 0 / 1.359 GB, free: 2.191 MB / 1.045 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 0.000131/0.3551, allocations: 152.1 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3551, allocations: 7.953 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.3551, allocations: 12 kB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3551, allocations: 240 / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3551, allocations: 0 / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3551, allocations: 7.984 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3553, allocations: 144.7 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3553, allocations: 0 / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.3554, allocations: 7.984 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3554, allocations: 0 / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3554, allocations: 0 / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3554, allocations: 4 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3554, allocations: 4 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3557, allocations: 245.1 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.3557, allocations: 11.95 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3557, allocations: 0 / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.3558, allocations: 7.984 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3559, allocations: 4 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3559, allocations: 7.922 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.029e-05/0.356, allocations: 107.7 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.356, allocations: 0 / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003387/0.3563, allocations: 63.8 kB / 1.36 GB, free: 1.336 MB / 1.045 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.0002831/0.3566, allocations: 151.1 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.357, allocations: 226.7 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.357, allocations: 0 / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3571, allocations: 107.3 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3573, allocations: 4 kB / 1.361 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.3578, allocations: 215.1 kB / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3581, allocations: 0.6846 MB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.3581, allocations: 7.438 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3581, allocations: 0 / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of Templates: time 0.003472/0.3616, allocations: 1.5 MB / 1.363 GB, free: 14.36 MB / 1.061 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.74124295898946]