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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_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.0007772/0.0007773, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005042/0.005042, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 12 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5694, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001629/0.5711, allocations: 1.165 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.5724, allocations: 0.796 MB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.5725, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.5725, allocations: 7.938 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.5726, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.5731, allocations: 135.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.5732, allocations: 39.91 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.5733, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.5733, allocations: 15.92 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.5734, allocations: 11.98 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5734, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.5738, allocations: 187.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.5738, allocations: 15.94 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.5739, allocations: 49.56 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.5742, allocations: 179.6 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5742, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5742, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.5743, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 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.0004715/0.5747, allocations: 432.7 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5748, allocations: 8.031 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.5748, allocations: 4.938 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5749, allocations: 184.2 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.575, allocations: 384 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.575, allocations: 4.375 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5752, allocations: 81.97 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.5752, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.5752, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5752, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.5753, allocations: 51.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.5758, allocations: 284.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.5759, allocations: 58.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.576, allocations: 48.91 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.576, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5761, allocations: 34.56 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5761, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004285/0.5765, allocations: 195.2 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5766, allocations: 81.11 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5767, allocations: 125.9 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5767, allocations: 29.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.5768, allocations: 84.14 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.5768, allocations: 11.81 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.5768, allocations: 17.7 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.577, allocations: 314.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5771, allocations: 59.95 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5772, allocations: 63.97 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.5775, allocations: 201.8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5775, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003141/0.5778, allocations: 221 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5779, allocations: 69.42 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5779, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5779, allocations: 4.234 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.578, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.578, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.5781, allocations: 15.92 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5781, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 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.00014/0.5782, allocations: 156 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5783, allocations: 11.89 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.5783, allocations: 3.906 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5783, allocations: 8 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5783, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5783, allocations: 3.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.5785, allocations: 177.5 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5785, allocations: 0 / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.5786, allocations: 4 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5786, allocations: 0 / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5786, allocations: 4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5786, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5786, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.5789, allocations: 265 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.579, allocations: 81.11 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.579, allocations: 4.062 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.5791, allocations: 8 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.5792, allocations: 7.984 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.5792, allocations: 8.031 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.5793, allocations: 95.27 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5793, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003713/0.5797, allocations: 59.98 kB / 1.029 GB, free: 9.281 MB / 0.7794 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.0002997/0.58, allocations: 147.2 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.5803, allocations: 250.7 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5804, allocations: 0 / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.5805, allocations: 107.3 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.5807, allocations: 8.5 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.5811, allocations: 184.5 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.5814, allocations: 0.6927 MB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.5814, allocations: 0 / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.5814, allocations: 7.438 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5814, allocations: 0 / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of Templates: time 0.004455/0.5859, allocations: 1.648 MB / 1.032 GB, free: 6.188 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) 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) Reference file matches