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.001751/0.001751, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001878/0.001878, allocations: 212.7 kB / 22.25 MB, free: 4.855 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.728/1.728, 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 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 3.513/3.513, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002223/0.002223, allocations: 72.67 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5098, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.004412/0.5143, allocations: 1.459 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.5164, allocations: 0.7754 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.5164, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.675e-05/0.5165, allocations: 7.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.5166, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.5175, allocations: 189.8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.5177, allocations: 47.95 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.5178, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.5178, allocations: 19.92 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.5179, allocations: 11.98 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.5179, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.5184, allocations: 215.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.5185, allocations: 11.94 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.5185, allocations: 11.94 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.519, allocations: 203.4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.519, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.294e-06/0.519, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.519, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 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.0007106/0.5197, allocations: 357.4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5197, allocations: 8.031 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.5198, allocations: 8.891 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.52, allocations: 110.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.52, allocations: 384 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.52, allocations: 8.375 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.5203, allocations: 107.7 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5203, allocations: 7.875 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.5203, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5203, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.5205, allocations: 77.66 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.521, allocations: 220.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.5212, allocations: 92.19 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.5213, allocations: 70.61 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5213, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5214, allocations: 38.5 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5214, allocations: 3.938 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005197/0.5219, allocations: 238.7 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.522, allocations: 81.11 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.5223, allocations: 133.7 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.5223, allocations: 25.7 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.5224, allocations: 88.14 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5224, allocations: 7.938 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.5225, allocations: 21.72 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5227, allocations: 318.9 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.5228, allocations: 119.4 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.523, allocations: 119.3 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5233, allocations: 198 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5233, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004462/0.5237, allocations: 288.3 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/0.5238, allocations: 67.39 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5238, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5239, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.5239, allocations: 8 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.5239, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.524, allocations: 11.92 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.524, allocations: 4.234 kB / 1.331 GB, free: 11.82 MB / 1.029 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.0001894/0.5242, allocations: 150.6 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.5243, allocations: 11.88 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.5243, allocations: 11.98 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5243, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5243, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5243, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.5245, allocations: 117.3 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5245, allocations: 3.938 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.5246, allocations: 7.984 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.5246, allocations: 0 / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5246, allocations: 4 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5246, allocations: 3.938 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5246, allocations: 3.938 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.525, allocations: 274.9 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.525, allocations: 7.891 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.525, allocations: 8.031 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.5251, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.5253, allocations: 11.98 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.5253, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001203/0.5254, allocations: 99.2 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5254, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003905/0.5258, allocations: 59.88 kB / 1.332 GB, free: 10.97 MB / 1.029 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.0003774/0.5262, allocations: 147.1 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006217/0.5268, allocations: 323.8 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5268, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.527, allocations: 133.1 kB / 1.332 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5273, allocations: 7.938 kB / 1.332 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.5279, allocations: 213.4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.528, allocations: 75.27 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.528, allocations: 4 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.528, allocations: 7.438 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.528, allocations: 4.062 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of Templates: time 0.00614/0.5341, allocations: 1.778 MB / 1.334 GB, free: 8.211 MB / 1.029 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/jenkins/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: 10.610004791989923]