Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5745, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002111/0.5766, allocations: 1.415 MB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.5776, allocations: 0.7856 MB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.5777, allocations: 1.312 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.5777, allocations: 0 / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.5778, allocations: 5.312 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.5783, allocations: 169.6 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.5784, allocations: 57.47 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.5785, allocations: 2.719 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.5785, allocations: 23.14 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.5786, allocations: 21.58 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.5786, allocations: 3.781 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.5789, allocations: 198 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.5789, allocations: 12.64 kB / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.579, allocations: 20.36 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.5792, allocations: 195.5 kB / 0.9526 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5792, allocations: 0 / 0.9526 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5792, allocations: 1.406 kB / 0.9526 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.5792, allocations: 0 / 0.9526 GB, free: 7.039 MB / 0.7169 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.0003533/0.5796, allocations: 429.9 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5796, allocations: 13.06 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.46e-05/0.5797, allocations: 36.12 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.5797, allocations: 7.094 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.631e-05/0.5798, allocations: 176 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5798, allocations: 1.5 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.5798, allocations: 10.47 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.58, allocations: 73.77 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.58, allocations: 3.938 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.58, allocations: 1.469 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.58, allocations: 5.469 kB / 0.9533 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5801, allocations: 48.48 kB / 0.9533 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.5804, allocations: 274.9 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.5805, allocations: 61.2 kB / 0.9537 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.5806, allocations: 45.66 kB / 0.9537 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.5806, allocations: 5.406 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5806, allocations: 32.22 kB / 0.9537 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5807, allocations: 0 / 0.9537 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003428/0.581, allocations: 184 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.581, allocations: 79.23 kB / 0.954 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.5811, allocations: 131.5 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.5811, allocations: 26.98 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.5812, allocations: 93.55 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.5812, allocations: 6.594 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.5812, allocations: 25.45 kB / 0.9543 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.5813, allocations: 319.8 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.5814, allocations: 55.56 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.5815, allocations: 56.67 kB / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.5816, allocations: 193.3 kB / 0.9549 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5817, allocations: 5.188 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002423/0.5819, allocations: 212.6 kB / 0.9551 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5819, allocations: 63.95 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.582, allocations: 0 / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.582, allocations: 5.062 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.582, allocations: 2.469 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.582, allocations: 1.188 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.5821, allocations: 16.58 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5821, allocations: 2.25 kB / 0.9551 GB, free: 4.621 MB / 0.7169 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 6.489e-05/0.5822, allocations: 150.7 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.5822, allocations: 2.719 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.5822, allocations: 14.3 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5822, allocations: 64 / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5822, allocations: 4 kB / 0.9553 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5823, allocations: 1.25 kB / 0.9553 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.5824, allocations: 179.1 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5824, allocations: 0 / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.5824, allocations: 2.375 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.5824, allocations: 5.188 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5824, allocations: 5.047 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5824, allocations: 0.9688 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5824, allocations: 3.938 kB / 0.9555 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.5827, allocations: 255.2 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.5827, allocations: 78.08 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5827, allocations: 10.06 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.5828, allocations: 7.688 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.5829, allocations: 7.641 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5829, allocations: 0.9375 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.5829, allocations: 99.3 kB / 0.9559 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5829, allocations: 0 / 0.9559 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003104/0.5833, allocations: 60.34 kB / 0.956 GB, free: 3.797 MB / 0.7169 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.0004843/0.5837, allocations: 0.8245 MB / 0.9568 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.584, allocations: 244.1 kB / 0.957 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.584, allocations: 1.812 kB / 0.957 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.5841, allocations: 106 kB / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.5844, allocations: 9.375 kB / 0.9571 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.5857, allocations: 1.755 MB / 0.9589 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.587e-05/0.5859, allocations: 0.6902 MB / 0.9595 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.5859, allocations: 0 / 0.9595 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.5859, allocations: 12.84 kB / 0.9595 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/0.5859, allocations: 0 / 0.9595 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.6036, allocations: 2.788 MB / 0.9623 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.887, allocations: 18.36 kB / 0.9623 GB, free: 15.13 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches