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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001542/0.001542, allocations: 113.9 kB / 16.41 MB, free: 5.914 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.001826/0.001826, allocations: 189 kB / 17.34 MB, free: 5.543 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.618/2.618, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7933, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003663/0.797, allocations: 1.438 MB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.799, allocations: 0.796 MB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.799, allocations: 0 / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.7991, allocations: 0 / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.616e-05/0.7993, allocations: 3.938 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.8002, allocations: 170.7 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.8004, allocations: 51.95 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8005, allocations: 4 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.8006, allocations: 19.92 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.8007, allocations: 19.92 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.8007, allocations: 7.938 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.8011, allocations: 207.7 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.8012, allocations: 4 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.8013, allocations: 23.86 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.8017, allocations: 192.1 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8017, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8017, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8017, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 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.0007589/0.8025, allocations: 430.5 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.8025, allocations: 8.031 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.8026, allocations: 8.891 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.8028, allocations: 172.3 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8029, allocations: 8.359 kB / 1.23 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.8029, allocations: 384 / 1.23 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.8031, allocations: 81.92 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8032, allocations: 0 / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8032, allocations: 7.938 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8032, allocations: 0 / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.8034, allocations: 47.95 kB / 1.23 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.8039, allocations: 276.9 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.8041, allocations: 58.48 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.8042, allocations: 52.89 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.8042, allocations: 0 / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.8043, allocations: 34.56 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8043, allocations: 4 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004701/0.8047, allocations: 187.3 kB / 1.231 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.8048, allocations: 77.11 kB / 1.231 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.805, allocations: 125.8 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.805, allocations: 29.7 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.8051, allocations: 88.08 kB / 1.231 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.8052, allocations: 15.88 kB / 1.231 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.8052, allocations: 25.73 kB / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8054, allocations: 318.8 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.8055, allocations: 55.97 kB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.8056, allocations: 55.95 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.8059, allocations: 193.9 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8059, allocations: 3.938 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003169/0.8062, allocations: 217 kB / 1.232 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.606e-05/0.8063, allocations: 67.39 kB / 1.232 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8063, allocations: 0 / 1.232 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.8063, allocations: 3.938 kB / 1.232 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.8064, allocations: 4 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.8064, allocations: 3.938 kB / 1.232 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.8065, allocations: 7.984 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.8065, allocations: 8 kB / 1.232 GB, free: 7.637 MB / 0.9512 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.0001443/0.8067, allocations: 148 kB / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.8067, allocations: 7.953 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.8068, allocations: 15.95 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8068, allocations: 4 kB / 1.232 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8068, allocations: 0 / 1.232 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.8069, allocations: 85.06 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.8069, allocations: 0 / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.807, allocations: 7.984 kB / 1.232 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.8071, allocations: 11.94 kB / 1.232 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003411/0.8075, allocations: 274 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003287/0.8078, allocations: 328.4 kB / 1.233 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001182/0.8079, allocations: 47.97 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.808, allocations: 99.27 kB / 1.233 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of Backend: time 7.11e-07/0.808, allocations: 3.938 kB / 1.233 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.8088, allocations: 329 kB / 1.233 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005894/0.8094, allocations: 0.6422 MB / 1.234 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.00519/0.8146, allocations: 1.798 MB / 1.235 GB, free: 3.719 MB / 0.9512 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