Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001375/0.001375, allocations: 186 kB / 20.78 MB, free: 1.547 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 75.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8746, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002391/0.877, allocations: 1.459 MB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.8782, allocations: 0.7988 MB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.8782, allocations: 0 / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.337e-05/0.8783, allocations: 2.594 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.8783, allocations: 4.75 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.8789, allocations: 168.9 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.879, allocations: 47.14 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.8791, allocations: 7.469 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.8791, allocations: 23.55 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.8792, allocations: 16.55 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.8792, allocations: 3.906 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.8795, allocations: 208.7 kB / 1.275 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.8795, allocations: 16.19 kB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.8796, allocations: 16.72 kB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.8798, allocations: 189.3 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8798, allocations: 4 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8798, allocations: 0.5938 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.8799, allocations: 0 / 1.275 GB, free: 6.152 MB / 0.9981 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.0004102/0.8803, allocations: 434.4 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.8803, allocations: 9.344 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.8803, allocations: 3.094 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.8804, allocations: 170.6 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.8805, allocations: 5.719 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.8805, allocations: 10.88 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.8807, allocations: 81.42 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8807, allocations: 1 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8807, allocations: 0.875 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8807, allocations: 0 / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.8808, allocations: 49.42 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.8811, allocations: 274.8 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8812, allocations: 63.83 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.8813, allocations: 45.72 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.8813, allocations: 0.9062 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.8814, allocations: 31.38 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8814, allocations: 1 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003986/0.8818, allocations: 187 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.8818, allocations: 86.98 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.8819, allocations: 121.7 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.8819, allocations: 26.67 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.8819, allocations: 90.84 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.8819, allocations: 13.25 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.882, allocations: 20.94 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.882, allocations: 320.2 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.8821, allocations: 52.42 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.8822, allocations: 63.03 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.8824, allocations: 205.7 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8824, allocations: 0 / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002549/0.8827, allocations: 212.7 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.8827, allocations: 62.17 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.8827, allocations: 3.938 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8827, allocations: 0.875 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.8828, allocations: 5.734 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8828, allocations: 4.719 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.8828, allocations: 12.39 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.8828, allocations: 2.5 kB / 1.277 GB, free: 3.93 MB / 0.9981 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.354e-05/0.8829, allocations: 154.2 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.8829, allocations: 3.344 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.8829, allocations: 10.19 kB / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8829, allocations: 0.8438 kB / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8829, allocations: 0 / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8829, allocations: 5.781 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.8831, allocations: 174.3 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8831, allocations: 0 / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.8831, allocations: 5.281 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8831, allocations: 1 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8831, allocations: 1.75 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8831, allocations: 0 / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8831, allocations: 0 / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.8833, allocations: 257 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.8834, allocations: 81.78 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.8834, allocations: 1.75 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.8834, allocations: 16.34 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8835, allocations: 2.688 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.8836, allocations: 3.031 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.8836, allocations: 94.53 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8836, allocations: 1.281 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003381/0.8839, allocations: 61.36 kB / 1.278 GB, free: 3.164 MB / 0.9981 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.0002512/0.8842, allocations: 152.1 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.8845, allocations: 231.4 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8845, allocations: 0.9375 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.8846, allocations: 104.9 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.8848, allocations: 11.47 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.8852, allocations: 195.2 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.8853, allocations: 0.6889 MB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.8853, allocations: 0 / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.8854, allocations: 13.28 kB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.8854, allocations: 0 / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of Templates: time 0.00502/0.8904, allocations: 1.776 MB / 1.281 GB, free: 1.852 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.818305568769574]