Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 79.88 kB / 1.104 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002559/1.033, allocations: 1.446 MB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00136/1.034, allocations: 0.799 MB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/1.034, allocations: 0.6562 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.039e-05/1.034, allocations: 5.828 kB / 1.271 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/1.034, allocations: 1.875 kB / 1.271 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/1.035, allocations: 168.2 kB / 1.271 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/1.035, allocations: 48.25 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/1.035, allocations: 12.03 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/1.035, allocations: 21.52 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/1.036, allocations: 18.55 kB / 1.271 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.036, allocations: 4.344 kB / 1.271 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/1.036, allocations: 201.9 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/1.036, allocations: 17.75 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/1.036, allocations: 19.38 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/1.036, allocations: 192.6 kB / 1.272 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.036, allocations: 0 / 1.272 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.026e-06/1.036, allocations: 0.7969 kB / 1.272 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.633e-06/1.036, allocations: 4.938 kB / 1.272 GB, free: 5.949 MB / 0.9981 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.0005026/1.037, allocations: 429.3 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.037, allocations: 10.38 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/1.037, allocations: 32.16 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/1.037, allocations: 8.469 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.037, allocations: 177.7 kB / 1.272 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.037, allocations: 5.875 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.037, allocations: 2.812 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/1.037, allocations: 79.61 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.037, allocations: 0.875 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.037, allocations: 5.438 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.037, allocations: 0.875 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/1.038, allocations: 45.44 kB / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/1.038, allocations: 278 kB / 1.273 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.038, allocations: 60.14 kB / 1.273 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/1.038, allocations: 44.84 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.038, allocations: 0.9688 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.038, allocations: 36.33 kB / 1.273 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.038, allocations: 0 / 1.273 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004058/1.039, allocations: 187.9 kB / 1.273 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.039, allocations: 78.95 kB / 1.273 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/1.039, allocations: 126.8 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/1.039, allocations: 27.33 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/1.039, allocations: 85.73 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/1.039, allocations: 6.547 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/1.039, allocations: 24.5 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/1.039, allocations: 320.5 kB / 1.274 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.039, allocations: 57.83 kB / 1.274 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/1.039, allocations: 58.94 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/1.039, allocations: 202 kB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.039, allocations: 0 / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002717/1.04, allocations: 219.2 kB / 1.274 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/1.04, allocations: 64.41 kB / 1.274 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.04, allocations: 1.125 kB / 1.274 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.04, allocations: 1.031 kB / 1.274 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/1.04, allocations: 8 kB / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.04, allocations: 0 / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/1.04, allocations: 10.81 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.04, allocations: 7.625 kB / 1.274 GB, free: 3.691 MB / 0.9981 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 7.96e-05/1.04, allocations: 149.7 kB / 1.274 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/1.04, allocations: 7.391 kB / 1.274 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/1.04, allocations: 13.84 kB / 1.274 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.04, allocations: 1.031 kB / 1.274 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.04, allocations: 0 / 1.274 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.04, allocations: 4.625 kB / 1.274 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/1.04, allocations: 171.2 kB / 1.275 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.04, allocations: 4.781 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/1.04, allocations: 3.812 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.04, allocations: 0.8438 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/1.04, allocations: 0.8125 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.04, allocations: 0.5625 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.04, allocations: 2.172 kB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/1.04, allocations: 250.8 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/1.04, allocations: 92.33 kB / 1.275 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/1.04, allocations: 5.906 kB / 1.275 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/1.041, allocations: 4.172 kB / 1.275 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.041, allocations: 6.75 kB / 1.275 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/1.041, allocations: 0.9688 kB / 1.275 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.128e-05/1.041, allocations: 98.73 kB / 1.275 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 3.938 kB / 1.275 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003832/1.041, allocations: 56.02 kB / 1.275 GB, free: 2.922 MB / 0.9981 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.0006546/1.042, allocations: 0.8337 MB / 1.276 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003435/1.042, allocations: 231.3 kB / 1.276 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.042, allocations: 1 kB / 1.276 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/1.042, allocations: 107.9 kB / 1.276 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/1.042, allocations: 10.81 kB / 1.276 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.044, allocations: 1.76 MB / 1.278 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.045, allocations: 0.6843 MB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.736e-05/1.045, allocations: 0 / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.045, allocations: 23.33 kB / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.045, allocations: 0 / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.072, allocations: 2.838 MB / 1.281 GB, free: 15.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.855, allocations: 1.422 kB / 1.281 GB, free: 15.43 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.006303579546511]