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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00403/0.00403, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.969/3.969, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.25 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4834, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003547/0.4869, allocations: 1.459 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.489, allocations: 0.7802 MB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.489, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.4891, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.4892, allocations: 7.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.49, allocations: 186.3 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.4902, allocations: 51.83 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4903, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.4903, allocations: 11.98 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.4904, allocations: 19.92 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.4904, allocations: 7.938 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.4908, allocations: 207.7 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.4909, allocations: 15.98 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.491, allocations: 15.88 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.4913, allocations: 191.5 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4913, allocations: 4 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4913, allocations: 3.938 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.4913, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 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.0006673/0.492, allocations: 353.4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.492, allocations: 8.031 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.4921, allocations: 30.75 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.4922, allocations: 8.891 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4923, allocations: 118.4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4923, allocations: 12.12 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4923, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4926, allocations: 107.4 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4926, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4926, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4926, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4928, allocations: 89.58 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.4933, allocations: 244 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.4934, allocations: 80.25 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4935, allocations: 74.61 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.4935, allocations: 0 / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4936, allocations: 38.56 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4936, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005811/0.4942, allocations: 250.6 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.4943, allocations: 77.11 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.4946, allocations: 121.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4946, allocations: 29.7 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.4947, allocations: 88.12 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.4947, allocations: 7.953 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.4948, allocations: 21.72 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4949, allocations: 326.8 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4951, allocations: 111.4 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.4952, allocations: 119.4 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4955, allocations: 205.8 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4955, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003921/0.4959, allocations: 280.5 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.496, allocations: 63.39 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.496, allocations: 0 / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.496, allocations: 3.938 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.4961, allocations: 11.94 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4961, allocations: 0 / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.4962, allocations: 11.92 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4962, allocations: 7.938 kB / 1.369 GB, free: 7.922 MB / 1.061 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.000175/0.4963, allocations: 148.2 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4964, allocations: 7.953 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.4964, allocations: 8 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4964, allocations: 0 / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4964, allocations: 0 / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4964, allocations: 4 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.4966, allocations: 140.7 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4966, allocations: 0 / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.4967, allocations: 7.938 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4967, allocations: 0 / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4967, allocations: 4 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4967, allocations: 0 / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4967, allocations: 4 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.4971, allocations: 282.8 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.4971, allocations: 0 / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.4972, allocations: 4 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.4972, allocations: 8.016 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.4974, allocations: 4 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4974, allocations: 4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.4975, allocations: 107.6 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4975, allocations: 0 / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003711/0.4979, allocations: 59.86 kB / 1.37 GB, free: 7.047 MB / 1.061 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.0008593/0.4987, allocations: 0.8562 MB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.4992, allocations: 324.1 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4992, allocations: 3.938 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4993, allocations: 129.1 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4996, allocations: 7.922 kB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.502, allocations: 2.052 MB / 1.373 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.649e-05/0.5021, allocations: 63.34 kB / 1.373 GB, free: 3.355 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.5021, allocations: 11.97 kB / 1.373 GB, free: 3.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.5022, allocations: 15.42 kB / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.5022, allocations: 0 / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.5421, allocations: 3.31 MB / 1.376 GB, free: 196 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.38, allocations: 4.062 kB / 1.376 GB, free: 192 kB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.6275403406471]