Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 106 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 198.2 kB / 22.23 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 443.5 MB / 0.7322 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7461, allocations: 160.8 MB / 1.218 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002648/0.7488, allocations: 1.469 MB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.7502, allocations: 0.7954 MB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.7502, allocations: 1.344 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.186e-05/0.7503, allocations: 3.938 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.7503, allocations: 1.344 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.751, allocations: 183.9 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.7511, allocations: 45.31 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.219e-05/0.7512, allocations: 5.75 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.7512, allocations: 23.14 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.7513, allocations: 13.48 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.7513, allocations: 4.031 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.7517, allocations: 230.9 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.7518, allocations: 12.22 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.7518, allocations: 25.05 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.7521, allocations: 191.2 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7521, allocations: 1.094 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7521, allocations: 0 / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7521, allocations: 0 / 1.221 GB, free: 1.48 MB / 0.92 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.0005424/0.7527, allocations: 433.6 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.7527, allocations: 9.094 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.7528, allocations: 8.328 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.7529, allocations: 174.7 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7529, allocations: 10.69 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.7529, allocations: 1.938 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.7531, allocations: 74.61 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7531, allocations: 1.156 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.7531, allocations: 3.938 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.7531, allocations: 0.9062 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.7533, allocations: 53.11 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.7537, allocations: 274.9 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.7538, allocations: 56.36 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.7539, allocations: 46.22 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.7539, allocations: 0 / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.754, allocations: 39.67 kB / 1.223 GB, free: 324 kB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.754, allocations: 0 / 1.223 GB, free: 324 kB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004134/0.7544, allocations: 192.3 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.7544, allocations: 79.42 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.7546, allocations: 122.7 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.7546, allocations: 26.83 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.7546, allocations: 91.33 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.7546, allocations: 9.016 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.7547, allocations: 20.95 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7548, allocations: 316.9 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.7549, allocations: 64.33 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.755, allocations: 60.22 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.7553, allocations: 197.7 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7553, allocations: 0 / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003097/0.7556, allocations: 216.6 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.7557, allocations: 64.8 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7557, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7557, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.7557, allocations: 7.094 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7557, allocations: 1.062 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.7558, allocations: 12.14 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7558, allocations: 7.031 kB / 1.224 GB, free: 15.1 MB / 0.9356 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.0001306/0.7559, allocations: 158 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.756, allocations: 7.328 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.756, allocations: 4.875 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.756, allocations: 1.125 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.756, allocations: 4 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.756, allocations: 1.188 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.7562, allocations: 174.3 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7562, allocations: 3.938 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.7562, allocations: 3.375 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.7562, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7562, allocations: 2.25 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7562, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7562, allocations: 1.062 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.7565, allocations: 262.1 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.7566, allocations: 78.36 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.7566, allocations: 6.656 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.7567, allocations: 3.688 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.7568, allocations: 6.234 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7568, allocations: 2 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.7569, allocations: 98.14 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7569, allocations: 4.938 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003665/0.7572, allocations: 60.42 kB / 1.225 GB, free: 14.29 MB / 0.9356 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.0002689/0.7575, allocations: 154.4 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.7579, allocations: 233.8 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7579, allocations: 0 / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.758, allocations: 97.78 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.7583, allocations: 7.156 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.7586, allocations: 180.2 kB / 1.225 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.759, allocations: 0.6896 MB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.759, allocations: 1.125 kB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.759, allocations: 8.5 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.759, allocations: 0 / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.004856/0.7639, allocations: 1.788 MB / 1.228 GB, free: 12.17 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.502456440590322]