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.001679/0.001679, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001885/0.001885, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 72.09 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7801, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002859/0.783, allocations: 1.445 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.7844, allocations: 0.7792 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.7845, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.7845, allocations: 3.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.7846, allocations: 7.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.7853, allocations: 167 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.7855, allocations: 55.89 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.7855, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.7856, allocations: 15.98 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.7856, allocations: 19.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.7857, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.786, allocations: 211.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.7861, allocations: 7.938 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.7861, allocations: 27.92 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.7865, allocations: 191.5 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7865, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7865, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.7865, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 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.000575/0.7871, allocations: 432.4 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7872, allocations: 8.031 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.7872, allocations: 4.938 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.7873, allocations: 172.2 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.7874, allocations: 8.359 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.7874, allocations: 4.375 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.7876, allocations: 73.98 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7876, allocations: 0 / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7876, allocations: 0 / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7876, allocations: 0 / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.7878, allocations: 51.89 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.7882, allocations: 272.9 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.7883, allocations: 66.55 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.7884, allocations: 48.84 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.7884, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.7884, allocations: 30.56 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 4.639e-06/0.7885, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005204/0.789, allocations: 191.3 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.7891, allocations: 81.11 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7892, allocations: 125.8 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.7892, allocations: 25.7 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.7893, allocations: 88.14 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.7893, allocations: 3.906 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.7894, allocations: 25.7 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7895, allocations: 310.8 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.7896, allocations: 60 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.7897, allocations: 67.94 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.79, allocations: 189.8 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.79, allocations: 3.938 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002906/0.7903, allocations: 220.9 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.7904, allocations: 67.39 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7904, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7904, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.7904, allocations: 8 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7905, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.7905, allocations: 15.86 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.7905, allocations: 4 kB / 1.214 GB, free: 7.809 MB / 0.9356 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.0001057/0.7906, allocations: 147.5 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.7907, allocations: 7.969 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.7907, allocations: 15.89 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7907, allocations: 0 / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7907, allocations: 0 / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.7908, allocations: 81.11 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7908, allocations: 4 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.7909, allocations: 7.984 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.791, allocations: 19.8 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002942/0.7913, allocations: 274 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003012/0.7916, allocations: 332.4 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001008/0.7917, allocations: 51.91 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.7918, allocations: 99.64 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of Backend: time 3.91e-07/0.7918, allocations: 0 / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.7924, allocations: 323.3 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004707/0.7929, allocations: 0.6365 MB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of Templates: time 0.004356/0.7973, allocations: 1.824 MB / 1.218 GB, free: 3.867 MB / 0.9356 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/jenkins1/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