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.001297/0.001297, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.001374/0.001374, allocations: 187.9 kB / 17.35 MB, free: 5.699 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.538/1.538, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.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.712/2.712, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 64.12 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.768, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002293/0.7703, allocations: 1.436 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7715, allocations: 0.784 MB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.7716, allocations: 0 / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/0.7716, allocations: 4 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.839e-05/0.7717, allocations: 7.875 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.7723, allocations: 164.5 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7724, allocations: 59.89 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.7725, allocations: 0 / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.7725, allocations: 15.98 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.7726, allocations: 19.92 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.7726, allocations: 4 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.7729, allocations: 207.7 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.7729, allocations: 11.94 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.773, allocations: 19.92 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.7733, allocations: 200 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7733, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7733, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7733, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 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.0004795/0.7738, allocations: 434.4 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.7738, allocations: 8.031 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.7739, allocations: 8.891 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.774, allocations: 172.3 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.774, allocations: 4.359 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.774, allocations: 8.375 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.7742, allocations: 73.98 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7742, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.7743, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.7743, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.7744, allocations: 55.95 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.7748, allocations: 276.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.7749, allocations: 58.56 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.775, allocations: 52.84 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.7751, allocations: 3.938 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7751, allocations: 34.56 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.7751, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004029/0.7755, allocations: 187.2 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.7756, allocations: 89.14 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.7757, allocations: 121.8 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.7757, allocations: 25.7 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.7757, allocations: 92.08 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.7757, allocations: 3.953 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.7758, allocations: 25.7 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7759, allocations: 310.8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.776, allocations: 67.95 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.969e-05/0.7761, allocations: 55.97 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.7763, allocations: 197.9 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7764, allocations: 3.938 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002792/0.7766, allocations: 216.9 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.7767, allocations: 69.89 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7767, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7767, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.7768, allocations: 8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7768, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.7769, allocations: 7.984 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.7769, allocations: 4 kB / 1.173 GB, free: 13.95 MB / 0.9044 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.0001062/0.777, allocations: 155.5 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.777, allocations: 3.953 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.777, allocations: 7.906 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7771, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7771, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.7771, allocations: 89.06 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.7771, allocations: 4 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.7772, allocations: 7.984 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.7773, allocations: 7.875 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002883/0.7776, allocations: 290 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002887/0.7779, allocations: 320.7 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001079/0.778, allocations: 47.97 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.7781, allocations: 95.27 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/0.7781, allocations: 0 / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006665/0.7788, allocations: 328.9 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004539/0.7792, allocations: 0.6306 MB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.004361/0.7836, allocations: 1.808 MB / 1.176 GB, free: 10.04 MB / 0.9044 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/jenkins1/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