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.001573/0.001573, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.00183/0.00183, allocations: 167 kB / 22.46 MB, free: 5.379 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.626/1.626, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.087/3.087, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.925e-05, allocations: 2.281 kB / 1 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003311/0.003341, allocations: 1.462 MB / 1.002 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.005136, allocations: 0.7907 MB / 1.002 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.00518, allocations: 4 kB / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.005285, allocations: 7.922 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.005344, allocations: 0 / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.006184, allocations: 183.5 kB / 1.003 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.006323, allocations: 39.92 kB / 1.003 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.006424, allocations: 11.98 kB / 1.003 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.006491, allocations: 23.97 kB / 1.003 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.006556, allocations: 19.92 kB / 1.003 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.006576, allocations: 0 / 1.003 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.007, allocations: 211.6 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.007062, allocations: 15.92 kB / 1.003 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.007103, allocations: 8 kB / 1.003 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.007508, allocations: 235.5 kB / 1.003 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.007512, allocations: 0 / 1.003 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.007513, allocations: 8 kB / 1.003 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.007519, allocations: 0 / 1.003 GB, free: 3.152 MB / 0.9044 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.000708/0.008227, allocations: 353.3 kB / 1.003 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.008268, allocations: 12.03 kB / 1.003 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.008314, allocations: 4.891 kB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.008474, allocations: 121.7 kB / 1.004 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.008485, allocations: 4.375 kB / 1.004 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.008502, allocations: 384 / 1.004 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.008766, allocations: 111.5 kB / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.008778, allocations: 0 / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.008793, allocations: 7.984 kB / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.008799, allocations: 0 / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.008947, allocations: 77.67 kB / 1.004 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.009418, allocations: 220.5 kB / 1.004 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.009591, allocations: 84.19 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.009709, allocations: 78.61 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.009726, allocations: 7.922 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.009763, allocations: 34.56 kB / 1.004 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.009765, allocations: 4 kB / 1.004 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005431/0.01031, allocations: 246.6 kB / 1.004 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.0104, allocations: 77.11 kB / 1.004 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.01055, allocations: 126.2 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.01058, allocations: 25.7 kB / 1.005 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.01066, allocations: 88.08 kB / 1.005 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.01067, allocations: 11.95 kB / 1.005 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.01073, allocations: 21.7 kB / 1.005 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.0109, allocations: 314.8 kB / 1.005 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.01106, allocations: 115.4 kB / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.01121, allocations: 127.4 kB / 1.005 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.0115, allocations: 198 kB / 1.005 GB, free: 472 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.01151, allocations: 3.938 kB / 1.005 GB, free: 468 kB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004074/0.01191, allocations: 284.3 kB / 1.006 GB, free: 152 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.01198, allocations: 59.41 kB / 1.006 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01198, allocations: 0 / 1.006 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.01201, allocations: 4 kB / 1.006 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.01208, allocations: 3.984 kB / 1.006 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.01209, allocations: 4 kB / 1.006 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.01214, allocations: 8 kB / 1.006 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01215, allocations: 0 / 1.006 GB, free: 60 kB / 0.9044 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.0001938/0.01235, allocations: 152.7 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.01238, allocations: 7.953 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.01241, allocations: 8 kB / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.01241, allocations: 0 / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01241, allocations: 4 kB / 1.006 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.01242, allocations: 0 / 1.006 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.01259, allocations: 113.3 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01259, allocations: 7.938 kB / 1.006 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.01262, allocations: 4 kB / 1.006 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01263, allocations: 3.938 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01264, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01264, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.01264, allocations: 7.984 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.013, allocations: 278.8 kB / 1.006 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.01302, allocations: 3.938 kB / 1.006 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01304, allocations: 4 kB / 1.006 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.01311, allocations: 7.922 kB / 1.006 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.0133, allocations: 12.03 kB / 1.006 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01331, allocations: 4 kB / 1.006 GB, free: 15.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.01339, allocations: 99.31 kB / 1.006 GB, free: 15.28 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 0 / 1.006 GB, free: 15.28 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003766/0.01377, allocations: 63.86 kB / 1.007 GB, free: 15.21 MB / 0.92 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.0003883/0.01416, allocations: 159.1 kB / 1.007 GB, free: 15.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.0147, allocations: 324 kB / 1.007 GB, free: 14.69 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01471, allocations: 0 / 1.007 GB, free: 14.69 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.0149, allocations: 129.1 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01515, allocations: 7.938 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.01581, allocations: 209.1 kB / 1.007 GB, free: 14.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01593, allocations: 75.31 kB / 1.007 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.01596, allocations: 4 kB / 1.007 GB, free: 14.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.01598, allocations: 8.5 kB / 1.007 GB, free: 14.2 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/0.01598, allocations: 0 / 1.007 GB, free: 14.2 MB / 0.92 GB Notification: Performance of Templates: time 0.005807/0.02179, allocations: 1.782 MB / 1.009 GB, free: 12.45 MB / 0.92 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/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.194825906306505]