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.007696/0.007696, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001708/0.001708, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.608/2.608, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3065, allocations: 151.6 MB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002553/0.3091, allocations: 1.43 MB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3105, allocations: 0.784 MB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.3105, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.776e-05/0.3106, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.3107, allocations: 7.922 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.3114, allocations: 167.6 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3115, allocations: 55.84 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.3116, allocations: 8 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.3116, allocations: 19.97 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.3117, allocations: 15.92 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3117, allocations: 4 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.3121, allocations: 199.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.3121, allocations: 15.92 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.3122, allocations: 19.92 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3125, allocations: 191.5 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3125, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3125, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3125, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 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.0005242/0.3131, allocations: 438.5 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3131, allocations: 8.031 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.3132, allocations: 8.891 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3133, allocations: 172.2 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3133, allocations: 12.38 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3133, allocations: 384 / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3136, allocations: 85.97 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3136, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3136, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3136, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3137, allocations: 43.97 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3141, allocations: 284.8 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3143, allocations: 58.55 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.3144, allocations: 48.91 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.3144, allocations: 3.938 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3144, allocations: 34.56 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3144, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/0.3148, allocations: 191.2 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3149, allocations: 81.09 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.315, allocations: 125.8 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.315, allocations: 25.7 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.3151, allocations: 88.12 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3151, allocations: 7.953 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.3151, allocations: 21.72 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3153, allocations: 318.8 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3154, allocations: 60 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.3155, allocations: 55.97 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3157, allocations: 197.8 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3157, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002861/0.316, allocations: 220.9 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.3161, allocations: 59.41 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3161, allocations: 0 / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3161, allocations: 4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.3162, allocations: 7.984 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3162, allocations: 0 / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.3162, allocations: 11.94 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3163, allocations: 4 kB / 1.172 GB, free: 1.09 MB / 0.92 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.0001038/0.3164, allocations: 151.5 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3164, allocations: 7.953 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.3164, allocations: 3.906 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3164, allocations: 240 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3164, allocations: 8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3165, allocations: 7.969 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3166, allocations: 169.6 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3166, allocations: 4.062 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.3167, allocations: 7.984 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3167, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3167, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3167, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3167, allocations: 4 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.317, allocations: 257 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3171, allocations: 81.05 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3171, allocations: 4 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3172, allocations: 7.984 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3173, allocations: 4 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3173, allocations: 0 / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.3173, allocations: 107.6 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3174, allocations: 0 / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003507/0.3177, allocations: 55.97 kB / 1.173 GB, free: 116 kB / 0.92 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.0002954/0.318, allocations: 159.2 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3184, allocations: 238.7 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3184, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3185, allocations: 99.38 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3187, allocations: 13.81 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.3191, allocations: 177.4 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3193, allocations: 0.6846 MB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.3194, allocations: 0 / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.3194, allocations: 7.438 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3194, allocations: 0 / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of Templates: time 0.004304/0.3237, allocations: 1.77 MB / 1.176 GB, free: 12.91 MB / 0.9356 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