Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001905/0.001905, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.003663/0.003663, allocations: 215.3 kB / 22.25 MB, free: 5.102 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.421/3.421, allocations: 0.49 GB / 0.7951 GB, free: 35.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_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.002317/0.002317, allocations: 67.61 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5787, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003364/0.582, allocations: 1.462 MB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.5837, allocations: 0.787 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.5838, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.035e-05/0.5839, allocations: 3.984 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.5839, allocations: 7.875 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.5847, allocations: 183.8 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.5849, allocations: 47.92 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.585, allocations: 3.984 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.585, allocations: 19.98 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.5851, allocations: 23.91 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.5851, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.5856, allocations: 219.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.5856, allocations: 11.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.5857, allocations: 15.88 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.5861, allocations: 199.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5861, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5861, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.5861, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 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.0006921/0.5868, allocations: 353.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.5868, allocations: 12.03 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.5869, allocations: 34.69 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.5869, allocations: 8.891 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5871, allocations: 114.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5871, allocations: 384 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5871, allocations: 4.375 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.5874, allocations: 107.5 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5874, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5874, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5874, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.5875, allocations: 73.67 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.588, allocations: 247.9 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.5882, allocations: 88.25 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5883, allocations: 74.61 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5883, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5883, allocations: 30.56 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.5883, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000527/0.5889, allocations: 242.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.5889, allocations: 85.11 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5891, allocations: 129.7 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5891, allocations: 25.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.5891, allocations: 92.08 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.5892, allocations: 3.953 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.5892, allocations: 25.7 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5894, allocations: 318.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5895, allocations: 123.4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.5897, allocations: 119.4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.59, allocations: 197.9 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.59, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003631/0.5903, allocations: 288.4 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.5904, allocations: 63.39 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5904, allocations: 4.234 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5904, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.5905, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5905, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5905, allocations: 7.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.5906, allocations: 15.91 kB / 1.332 GB, free: 11.31 MB / 1.029 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.0001427/0.5907, allocations: 147.5 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.5907, allocations: 3.953 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.5908, allocations: 15.98 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5908, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5908, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5908, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.591, allocations: 140.7 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.591, allocations: 0 / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.591, allocations: 3.984 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.591, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.591, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.591, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.591, allocations: 3.938 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.5914, allocations: 278.8 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.5914, allocations: 7.953 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.5914, allocations: 4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.5915, allocations: 8.031 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.5916, allocations: 7.984 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.5916, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.5917, allocations: 99.2 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5917, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000361/0.5921, allocations: 59.88 kB / 1.332 GB, free: 10.44 MB / 1.029 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.000919/0.593, allocations: 0.8717 MB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.5934, allocations: 323.9 kB / 1.333 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5934, allocations: 0 / 1.333 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.5936, allocations: 129.1 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5938, allocations: 0 / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.5963, allocations: 2.049 MB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.5964, allocations: 71.33 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.5964, allocations: 64 / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.5964, allocations: 19.44 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.5964, allocations: 0 / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.6321, allocations: 3.335 MB / 1.339 GB, free: 3.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.5, allocations: 3.875 kB / 1.339 GB, free: 3.555 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.427264597994508]