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.002052/0.002052, 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.002421/0.002421, allocations: 210.8 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.547/1.547, 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.456/3.456, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.003207/0.003207, allocations: 72.58 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5068, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003518/0.5103, allocations: 1.472 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.5122, allocations: 0.7764 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.5123, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.228e-05/0.5124, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.5124, allocations: 3.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.5133, allocations: 175.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.5134, allocations: 55.83 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.5135, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.5136, allocations: 15.98 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.5136, allocations: 23.92 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.5137, allocations: 4 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.5141, allocations: 211.7 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.5142, allocations: 7.938 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.5142, allocations: 15.88 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.5146, allocations: 195.5 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5146, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5146, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5146, allocations: 3.938 kB / 1.366 GB, free: 11.14 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.000675/0.5153, allocations: 353.4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.5153, allocations: 16.03 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.5154, allocations: 34.69 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.5154, allocations: 8.891 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.5156, allocations: 114.4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5156, allocations: 4.125 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5156, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.5159, allocations: 103.4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5159, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.5159, allocations: 8 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5159, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.5161, allocations: 81.66 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.5166, allocations: 243.9 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.5168, allocations: 88.25 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.5169, allocations: 70.61 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5169, allocations: 4 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.517, allocations: 30.56 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.517, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.5175, allocations: 250.6 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.5176, allocations: 93.12 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.5177, allocations: 117.8 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.5177, allocations: 25.7 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.5178, allocations: 92.12 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.5178, allocations: 3.953 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.5179, allocations: 25.66 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.5181, allocations: 322.8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5183, allocations: 119.4 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5184, allocations: 111.4 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.5187, allocations: 201.9 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5187, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004012/0.5191, allocations: 284.3 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.5192, allocations: 70.36 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5192, allocations: 0 / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5192, allocations: 0 / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.5193, allocations: 4 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5193, allocations: 3.984 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.5193, allocations: 7.938 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5194, allocations: 11.88 kB / 1.369 GB, free: 7.957 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.0001542/0.5195, allocations: 151.5 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.5195, allocations: 3.953 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.5196, allocations: 8 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5196, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5196, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5196, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5198, allocations: 144.7 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5198, allocations: 0 / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.5198, allocations: 4.062 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5198, allocations: 4 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5199, allocations: 4 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5199, allocations: 0 / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5199, allocations: 3.984 kB / 1.369 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.5202, allocations: 282.7 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.5202, allocations: 4 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5202, allocations: 0 / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.5203, allocations: 11.98 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5205, allocations: 4 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.5205, allocations: 0 / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.5206, allocations: 107.5 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5206, allocations: 4.031 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003516/0.5209, allocations: 63.86 kB / 1.37 GB, free: 7.074 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.000912/0.5218, allocations: 0.8562 MB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.5223, allocations: 319.8 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5223, allocations: 0 / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.5224, allocations: 133.1 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5227, allocations: 9.969 kB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5251, allocations: 2.039 MB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.5252, allocations: 75.28 kB / 1.373 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.5252, allocations: 3.906 kB / 1.373 GB, free: 3.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.5253, allocations: 19.42 kB / 1.373 GB, free: 3.367 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.5253, allocations: 0 / 1.373 GB, free: 3.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.5582, allocations: 3.318 MB / 1.376 GB, free: 224 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.92, allocations: 1.891 kB / 1.376 GB, free: 224 kB / 1.061 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.42447700165212]