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.002178/0.002178, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002095/0.002095, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.69/1.69, allocations: 230.6 MB / 256 MB, free: 7.785 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.722/3.722, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002223/0.002223, allocations: 71.23 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5191, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003457/0.5225, allocations: 1.462 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.5243, allocations: 0.7803 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.5244, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.191e-05/0.5245, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.5245, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.5253, allocations: 179.5 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.5255, allocations: 51.83 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.5255, allocations: 8 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.5256, allocations: 15.98 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.5257, allocations: 15.92 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.5257, allocations: 4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.5261, allocations: 211.7 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.5262, allocations: 15.92 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.5262, allocations: 11.94 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.5265, allocations: 191.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5265, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5265, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5265, allocations: 3.938 kB / 1.367 GB, free: 10.59 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.0006189/0.5272, allocations: 357.4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5272, allocations: 11.97 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.5272, allocations: 12.88 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.5274, allocations: 114.4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5274, allocations: 384 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5274, allocations: 11.94 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.5277, allocations: 99.36 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5277, allocations: 4 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5277, allocations: 0 / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5277, allocations: 0 / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5279, allocations: 77.67 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.5283, allocations: 228.5 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.5285, allocations: 88.25 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.5286, allocations: 74.61 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.5287, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5287, allocations: 30.56 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5287, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004776/0.5292, allocations: 246.6 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.5293, allocations: 89.11 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5294, allocations: 121.8 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.5294, allocations: 25.7 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.5295, allocations: 88.14 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.5295, allocations: 3.953 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.5296, allocations: 25.7 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5297, allocations: 318.8 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5299, allocations: 119.4 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.5301, allocations: 119.3 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5303, allocations: 201.9 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5303, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003847/0.5307, allocations: 288.3 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.5308, allocations: 59.41 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5308, allocations: 3.984 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5308, allocations: 0 / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.5309, allocations: 4 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5309, allocations: 0 / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.5309, allocations: 7.938 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.531, allocations: 8 kB / 1.369 GB, free: 7.492 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 0.0001388/0.5311, allocations: 151.5 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.5311, allocations: 3.953 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.5311, allocations: 11.98 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5312, allocations: 0 / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5312, allocations: 3.938 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5312, allocations: 240 / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5313, allocations: 117.2 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5313, allocations: 4 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.5314, allocations: 3.984 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5314, allocations: 7.984 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5314, allocations: 4 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5314, allocations: 4.062 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5314, allocations: 0 / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5317, allocations: 282.7 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.5317, allocations: 4 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5318, allocations: 3.984 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.5318, allocations: 4 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.532, allocations: 8 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.532, allocations: 3.984 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.5321, allocations: 103.7 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5321, allocations: 0 / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003258/0.5324, allocations: 59.88 kB / 1.37 GB, free: 6.641 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.0003123/0.5327, allocations: 151.1 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.5332, allocations: 323.8 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5332, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.5333, allocations: 129.1 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5336, allocations: 13.69 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.5341, allocations: 211.1 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.322e-05/0.5342, allocations: 67.34 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.5342, allocations: 0 / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.5342, allocations: 11.44 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.5342, allocations: 0 / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of Templates: time 0.005187/0.5394, allocations: 1.786 MB / 1.373 GB, free: 3.891 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=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/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: 10.787096690386534]