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.001738/0.001739, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001843/0.001843, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.368/1.368, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.579/2.579, allocations: 469.8 MB / 0.7491 GB, free: 3.016 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.001912/0.001912, allocations: 67.91 kB / 1.073 GB, free: 112 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8763, allocations: 159.1 MB / 1.229 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002727/0.8791, allocations: 1.432 MB / 1.23 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.8805, allocations: 0.7909 MB / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.8805, allocations: 0 / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.317e-05/0.8806, allocations: 7.875 kB / 1.231 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.8806, allocations: 4 kB / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.8813, allocations: 172.5 kB / 1.231 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.8814, allocations: 47.92 kB / 1.231 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.8815, allocations: 11.98 kB / 1.231 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.8816, allocations: 12 kB / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.8816, allocations: 15.92 kB / 1.231 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.8817, allocations: 4 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.882, allocations: 203.7 kB / 1.231 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.8821, allocations: 15.92 kB / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.8821, allocations: 11.94 kB / 1.231 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.8824, allocations: 203.4 kB / 1.232 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8824, allocations: 0 / 1.232 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8824, allocations: 0 / 1.232 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8824, allocations: 0 / 1.232 GB, free: 1.914 MB / 0.9356 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.0005551/0.883, allocations: 430.5 kB / 1.232 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8831, allocations: 8.031 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.8831, allocations: 42.73 kB / 1.232 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.8831, allocations: 4.891 kB / 1.232 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.8833, allocations: 168.3 kB / 1.232 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.8833, allocations: 4.375 kB / 1.232 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8833, allocations: 8.359 kB / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.8835, allocations: 78.88 kB / 1.232 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.8835, allocations: 0 / 1.232 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.8836, allocations: 0 / 1.232 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.8836, allocations: 4 kB / 1.232 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.8837, allocations: 47.91 kB / 1.232 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.8841, allocations: 288.7 kB / 1.233 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.8842, allocations: 62.55 kB / 1.233 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.8843, allocations: 44.91 kB / 1.233 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.8844, allocations: 4 kB / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.8844, allocations: 34.5 kB / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8844, allocations: 0 / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004071/0.8848, allocations: 183.3 kB / 1.233 GB, free: 344 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.8849, allocations: 89.05 kB / 1.233 GB, free: 236 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.885, allocations: 121.8 kB / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.885, allocations: 25.7 kB / 1.233 GB, free: 72 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.8851, allocations: 92.12 kB / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.8851, allocations: 3.953 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.8852, allocations: 21.72 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8853, allocations: 322.8 kB / 1.234 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8854, allocations: 60 kB / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.8855, allocations: 55.97 kB / 1.234 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.8858, allocations: 201.9 kB / 1.234 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8858, allocations: 0 / 1.234 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002894/0.8861, allocations: 217 kB / 1.234 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.8862, allocations: 63.41 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.8862, allocations: 0 / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8862, allocations: 0 / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.8863, allocations: 11.98 kB / 1.234 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8863, allocations: 0 / 1.234 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.8863, allocations: 4 kB / 1.234 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.8863, allocations: 4 kB / 1.234 GB, free: 14.96 MB / 0.9512 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.000119/0.8865, allocations: 156.3 kB / 1.234 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.8865, allocations: 7.953 kB / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.8865, allocations: 3.906 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.8865, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8865, allocations: 7.938 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8866, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.8867, allocations: 181.5 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8867, allocations: 0 / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.8868, allocations: 3.984 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.8868, allocations: 4 kB / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.8868, allocations: 0 / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8868, allocations: 0 / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8868, allocations: 0 / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.8871, allocations: 257.3 kB / 1.235 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.8872, allocations: 85.03 kB / 1.235 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.8872, allocations: 0 / 1.235 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.8873, allocations: 7.984 kB / 1.235 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.8874, allocations: 8 kB / 1.235 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.8874, allocations: 8 kB / 1.235 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.8875, allocations: 91.27 kB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8875, allocations: 0 / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003174/0.8878, allocations: 67.95 kB / 1.235 GB, free: 13.98 MB / 0.9512 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.0007542/0.8886, allocations: 0.8387 MB / 1.236 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.8889, allocations: 234.7 kB / 1.236 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.889, allocations: 4.031 kB / 1.236 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.8891, allocations: 107.3 kB / 1.236 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.8893, allocations: 7.984 kB / 1.236 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8912, allocations: 1.754 MB / 1.238 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.8915, allocations: 0.6846 MB / 1.238 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.8915, allocations: 4 kB / 1.238 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.8915, allocations: 11.44 kB / 1.238 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of SimCode: time 6.72e-07/0.8915, allocations: 0 / 1.238 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.9153, allocations: 2.815 MB / 1.241 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.72, allocations: 14.66 kB / 1.241 GB, free: 7.504 MB / 0.9512 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: 14.457043884089217]