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.001451/0.001451, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001629/0.001629, allocations: 158.5 kB / 23.01 MB, free: 4.945 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.977 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 2.869/2.869, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002496/0.002496, allocations: 71.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8464, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002403/0.8488, allocations: 1.468 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.85, allocations: 0.7802 MB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.8501, allocations: 3.938 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.8501, allocations: 1.719 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.8502, allocations: 5.797 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.8508, allocations: 174 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.851, allocations: 61.61 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.8511, allocations: 3.047 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.8511, allocations: 13.39 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.8512, allocations: 20.83 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.8512, allocations: 2.625 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.8516, allocations: 210.3 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.8516, allocations: 14.66 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.8516, allocations: 14.83 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.8519, allocations: 193.5 kB / 1.19 GB, free: 14.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8519, allocations: 0 / 1.19 GB, free: 14.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8519, allocations: 1.922 kB / 1.19 GB, free: 14.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8519, allocations: 4 kB / 1.19 GB, free: 14.46 MB / 1.076 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.0003996/0.8523, allocations: 358 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.8524, allocations: 9.797 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.8524, allocations: 7.297 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.002e-05/0.8525, allocations: 112.8 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8525, allocations: 1.75 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.8525, allocations: 10.72 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8527, allocations: 101 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8527, allocations: 0 / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8527, allocations: 0.9375 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.8527, allocations: 4 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.8529, allocations: 81.89 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.8532, allocations: 221 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.8533, allocations: 87.64 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.8534, allocations: 72.77 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.8535, allocations: 0 / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.8535, allocations: 33.75 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8535, allocations: 0 / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004312/0.8539, allocations: 250.5 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.8539, allocations: 84.25 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.854, allocations: 121.8 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.854, allocations: 28.08 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.8541, allocations: 91.75 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.8541, allocations: 5.609 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.8541, allocations: 22.61 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.8542, allocations: 319.6 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.8543, allocations: 118.4 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.8544, allocations: 126.9 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.8546, allocations: 196.9 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8547, allocations: 7.875 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003111/0.855, allocations: 280.9 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.855, allocations: 66.53 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.855, allocations: 0 / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.855, allocations: 0 / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.8551, allocations: 9.062 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8551, allocations: 0.5625 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.8551, allocations: 11.12 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.8552, allocations: 2.25 kB / 1.192 GB, free: 12.09 MB / 1.076 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 8.542e-05/0.8552, allocations: 150.9 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.8553, allocations: 7.25 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.8553, allocations: 5.953 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8553, allocations: 0 / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8553, allocations: 1.797 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8553, allocations: 0 / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.8554, allocations: 121 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8554, allocations: 0 / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.8555, allocations: 8.25 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8555, allocations: 1.406 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.8555, allocations: 6.047 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8555, allocations: 0 / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8555, allocations: 1.531 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.8557, allocations: 280.2 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.8557, allocations: 2.125 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8558, allocations: 2.016 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.8558, allocations: 6.281 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.8559, allocations: 8.156 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.8559, allocations: 8.703 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.856, allocations: 94.08 kB / 1.193 GB, free: 11.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.856, allocations: 0 / 1.193 GB, free: 11.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004256/0.8564, allocations: 62.17 kB / 1.193 GB, free: 11.46 MB / 1.076 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.0002592/0.8566, allocations: 147 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.857, allocations: 324.3 kB / 1.193 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.857, allocations: 1 kB / 1.193 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.8572, allocations: 134.3 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.8574, allocations: 14.48 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.8578, allocations: 207.2 kB / 1.194 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.8579, allocations: 69.28 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.8579, allocations: 1.094 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.8579, allocations: 14.12 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.8579, allocations: 0 / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of Templates: time 0.006288/0.8642, allocations: 1.773 MB / 1.196 GB, free: 10.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.793422964052297]