Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009533/0.009534, allocations: 170.6 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 437.8 MB / 0.7121 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8 kB / 0.873 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5037, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001275/0.505, allocations: 1.157 MB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.5061, allocations: 0.8036 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.5061, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.5062, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.5062, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.5066, allocations: 139.7 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.5067, allocations: 35.97 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.5068, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.5068, allocations: 15.94 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.5069, allocations: 15.97 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.5069, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.5072, allocations: 195.7 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.5072, allocations: 7.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.5072, allocations: 45.56 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.5075, allocations: 191.6 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5075, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5075, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.5075, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 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.0004011/0.5079, allocations: 425 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.5079, allocations: 8.031 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.508, allocations: 34.73 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.508, allocations: 4.938 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5081, allocations: 180.2 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.5081, allocations: 4.375 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5081, allocations: 4.375 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.5083, allocations: 85.72 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5083, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.5083, allocations: 3.938 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5083, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.5085, allocations: 47.97 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.5088, allocations: 280.9 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.5089, allocations: 62.55 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.509, allocations: 44.92 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.509, allocations: 7.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.509, allocations: 38.55 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.509, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003388/0.5094, allocations: 183.2 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5094, allocations: 81.11 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.5095, allocations: 129.9 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5096, allocations: 29.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.5096, allocations: 84.14 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.5096, allocations: 15.8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.5096, allocations: 9.719 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.5097, allocations: 322.8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.5098, allocations: 59.95 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.5099, allocations: 63.91 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.5102, allocations: 201.9 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5102, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002565/0.5104, allocations: 217 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.5105, allocations: 65.42 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5105, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.5105, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.5106, allocations: 8 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.5106, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5106, allocations: 15.92 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5106, allocations: 8 kB / 1.028 GB, free: 10.32 MB / 0.7794 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 8.789e-05/0.5107, allocations: 151.4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.5108, allocations: 11.91 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.5108, allocations: 7.906 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.5108, allocations: 7.938 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5108, allocations: 8 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.5108, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.511, allocations: 173.6 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.511, allocations: 0 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.511, allocations: 4 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.511, allocations: 240 / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.511, allocations: 4 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.511, allocations: 3.984 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.511, allocations: 0 / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.5113, allocations: 261 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.5113, allocations: 81.11 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.5114, allocations: 0 / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.5114, allocations: 11.98 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.5115, allocations: 3.938 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5115, allocations: 8.031 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.5116, allocations: 99.27 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5116, allocations: 0 / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002828/0.5119, allocations: 59.98 kB / 1.029 GB, free: 9.328 MB / 0.7794 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.0005984/0.5125, allocations: 0.839 MB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.5128, allocations: 238.7 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5128, allocations: 3.938 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.5129, allocations: 107.4 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.5131, allocations: 4 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.5147, allocations: 1.773 MB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.5149, allocations: 0.6848 MB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.299e-05/0.5149, allocations: 4 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.515, allocations: 15.44 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.515, allocations: 0 / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/2.04, allocations: 2.517 MB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/2.041, allocations: 252.4 kB / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/4.688, allocations: 0 / 1.035 GB, free: 2.906 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches