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.0007543/0.0007543, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009634/0.001718, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007024/0.0007024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009911/0.001693, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8819/0.8819, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.084/0.9659, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.232/2.232, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.21/2.442, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.272e-06/1.272e-06, allocations: 0 / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.346e-06/9.618e-06, allocations: 2.312 kB / 0.819 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001561/0.001571, allocations: 1.553 MB / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.00238, allocations: 0.8179 MB / 0.8213 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.002406, allocations: 0 / 0.8213 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.002455, allocations: 3.938 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.002483, allocations: 3.984 kB / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.002834, allocations: 159.5 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.002921, allocations: 39.81 kB / 0.8215 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.002976, allocations: 11.98 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.003029, allocations: 27.98 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.003071, allocations: 15.97 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003082, allocations: 4 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.003353, allocations: 239.6 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.003387, allocations: 8 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.003409, allocations: 11.94 kB / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.003603, allocations: 183.5 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.003613, allocations: 0 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003614, allocations: 0 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.003626, allocations: 4 kB / 0.8219 GB, free: 15.38 MB / 0.8073 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.0003962/0.004022, allocations: 343.7 kB / 0.8223 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.004049, allocations: 12.03 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.00408, allocations: 4.938 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.004165, allocations: 121.6 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.004174, allocations: 4.375 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.004186, allocations: 4.375 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004297, allocations: 100.2 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.004303, allocations: 0 / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.004309, allocations: 0 / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004314, allocations: 0 / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.004346, allocations: 53.69 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.004527, allocations: 160.3 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.004582, allocations: 64.27 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.004616, allocations: 58.61 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.004626, allocations: 3.938 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.004644, allocations: 34.56 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004645, allocations: 0 / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.0048, allocations: 178.7 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.004825, allocations: 51.41 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.004884, allocations: 126.6 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.004893, allocations: 29.7 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.004923, allocations: 88.12 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.004934, allocations: 3.953 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004964, allocations: 29.69 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.005024, allocations: 310.8 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.005079, allocations: 86.22 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.005117, allocations: 79.39 kB / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.005192, allocations: 144.7 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005194, allocations: 0 / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001079/0.005302, allocations: 212.4 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.005339, allocations: 67.39 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.005342, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005352, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.005392, allocations: 4 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005394, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.005415, allocations: 7.938 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.005422, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 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 6.084e-05/0.005483, allocations: 150.4 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.005498, allocations: 7.938 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.005512, allocations: 4 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.005513, allocations: 4 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.005514, allocations: 0 / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.005518, allocations: 3.984 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.005717, allocations: 69.86 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.005718, allocations: 3.984 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.005731, allocations: 4 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.005736, allocations: 3.984 kB / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005738, allocations: 7.938 kB / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005742, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005743, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005743, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005849, allocations: 234.9 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.00586, allocations: 7.875 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.005892, allocations: 11.98 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.005928, allocations: 4 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.005931, allocations: 0 / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.627e-05/0.005947, allocations: 16.84 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005947, allocations: 0 / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001664/0.006114, allocations: 63.86 kB / 0.8248 GB, free: 12.09 MB / 0.8073 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.000166/0.00628, allocations: 144.3 kB / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.006437, allocations: 268.7 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.006441, allocations: 7.938 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.006499, allocations: 112.8 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.006601, allocations: 8 kB / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.00693, allocations: 183.2 kB / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.006965, allocations: 67.2 kB / 0.8256 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.235e-05/0.006978, allocations: 0 / 0.8256 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.007029, allocations: 63.36 kB / 0.8256 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of SimCode: time 4.3e-07/0.007029, allocations: 8.031 kB / 0.8256 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.003071/0.0101, allocations: 2.043 MB / 0.8276 GB, free: 9.117 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.669865847565234]