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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006588/0.006589, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001751/0.001751, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.305, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002519/0.3075, allocations: 1.441 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3088, allocations: 0.7761 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.3089, allocations: 7.938 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.032e-05/0.3089, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.309, allocations: 7.938 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.3096, allocations: 163.6 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3097, allocations: 51.89 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.3098, allocations: 12 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.3098, allocations: 11.98 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.3099, allocations: 19.92 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3099, allocations: 0 / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.3102, allocations: 215.6 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.3103, allocations: 11.98 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.3103, allocations: 15.88 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3106, allocations: 195.7 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3106, allocations: 4 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.32 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.0005286/0.3112, allocations: 430.5 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3112, allocations: 12.03 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.3113, allocations: 38.73 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3113, allocations: 8.891 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3114, allocations: 168.3 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3115, allocations: 4.375 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3115, allocations: 4.312 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3117, allocations: 81.78 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3117, allocations: 4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3117, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3117, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3118, allocations: 43.97 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3122, allocations: 280.9 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3124, allocations: 66.48 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.3125, allocations: 44.92 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3125, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3125, allocations: 34.55 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3125, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/0.3129, allocations: 183.3 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.313, allocations: 81.11 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3131, allocations: 137.7 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3131, allocations: 29.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3132, allocations: 84.14 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3132, allocations: 11.94 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3133, allocations: 21.72 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3134, allocations: 314.8 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3135, allocations: 59.95 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.3136, allocations: 59.97 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3139, allocations: 193.9 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3139, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003034/0.3142, allocations: 221 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.3143, allocations: 63.41 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.3143, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3143, allocations: 7.938 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.3144, allocations: 3.984 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3144, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3144, allocations: 16.17 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3144, allocations: 0 / 1.172 GB, free: 1.367 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.000117/0.3146, allocations: 160 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3146, allocations: 7.953 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.3146, allocations: 7.891 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3146, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3146, allocations: 4 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3147, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3148, allocations: 173.6 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3149, allocations: 4 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.3149, allocations: 7.984 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3149, allocations: 0 / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3149, allocations: 0 / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3149, allocations: 0 / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3149, allocations: 0 / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.3152, allocations: 257 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3153, allocations: 81.14 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3153, allocations: 4 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.3154, allocations: 11.92 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3155, allocations: 4 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3155, allocations: 4 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.212e-05/0.3156, allocations: 95.27 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3156, allocations: 0 / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003093/0.3159, allocations: 59.92 kB / 1.172 GB, free: 400 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.0007797/0.3167, allocations: 0.835 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.317, allocations: 242.7 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.317, allocations: 0 / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3172, allocations: 103.4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.3174, allocations: 6.75 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3193, allocations: 1.752 MB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3196, allocations: 0.6885 MB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.3196, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3197, allocations: 11.44 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3197, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3431, allocations: 2.822 MB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.952, allocations: 22.66 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/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