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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 193.6 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.59 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2579, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002377/0.2603, allocations: 1.491 MB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2615, allocations: 0.8298 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.2616, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.2616, allocations: 3.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.2617, allocations: 3.984 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.2622, allocations: 131.7 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.2623, allocations: 35.97 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.2624, allocations: 4 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.2624, allocations: 15.92 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.2625, allocations: 23.91 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2625, allocations: 0 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2628, allocations: 191.7 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2629, allocations: 7.984 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.2629, allocations: 23.88 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.2632, allocations: 183.6 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2632, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2632, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2632, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 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.0004476/0.2637, allocations: 427.1 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2637, allocations: 15.97 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.2638, allocations: 8.828 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2639, allocations: 172.2 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2639, allocations: 4.375 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2639, allocations: 4.375 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2641, allocations: 81.97 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2641, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2641, allocations: 4 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2641, allocations: 0 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.2642, allocations: 47.91 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2646, allocations: 284.9 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2647, allocations: 54.55 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2648, allocations: 44.92 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2648, allocations: 3.984 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2649, allocations: 34.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2649, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.2653, allocations: 183.3 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2653, allocations: 81.11 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.2654, allocations: 125.7 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2654, allocations: 29.7 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.2655, allocations: 88.12 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2655, allocations: 11.84 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.2656, allocations: 17.72 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2657, allocations: 326.9 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2658, allocations: 51.97 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.2659, allocations: 55.97 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.2661, allocations: 209.8 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2661, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002846/0.2664, allocations: 220.9 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.2665, allocations: 63.34 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2665, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2665, allocations: 4 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.2666, allocations: 7.984 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2666, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.2666, allocations: 4 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2666, allocations: 4 kB / 1.058 GB, free: 2.996 MB / 0.8106 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.0001074/0.2667, allocations: 151.5 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.2668, allocations: 4 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.2668, allocations: 7.906 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2668, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2668, allocations: 7.938 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2668, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.267, allocations: 181.5 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.267, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.2671, allocations: 7.984 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2671, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2671, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2671, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2671, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.2674, allocations: 253.4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.2674, allocations: 81.02 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.2674, allocations: 8 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.2675, allocations: 7.984 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2676, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.2676, allocations: 8 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.2677, allocations: 99.64 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2677, allocations: 0 / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003064/0.268, allocations: 68.02 kB / 1.058 GB, free: 2.02 MB / 0.8106 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.0002504/0.2683, allocations: 155.1 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2686, allocations: 238.7 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2686, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2688, allocations: 103.4 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.269, allocations: 3.938 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.2694, allocations: 183.3 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2696, allocations: 0.6848 MB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.765e-05/0.2696, allocations: 4 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.2697, allocations: 11.38 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2697, allocations: 3.938 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of Templates: time 0.00405/0.2737, allocations: 1.652 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) 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) Reference file matches