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.0017/0.0017, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.00232/0.00232, allocations: 214.3 kB / 22.25 MB, free: 5.129 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.969 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.434/3.434, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.002071/0.002071, allocations: 67.55 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3686, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002818/0.3714, allocations: 1.475 MB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.373, allocations: 0.8454 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.3731, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.244e-05/0.3732, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3732, allocations: 11.94 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.3739, allocations: 175.8 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3741, allocations: 47.97 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.3742, allocations: 15.86 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.3742, allocations: 15.98 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.3743, allocations: 19.92 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3743, allocations: 8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.3747, allocations: 227.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.3748, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.3748, allocations: 19.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.3751, allocations: 191.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3751, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3751, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3751, allocations: 0 / 1.329 GB, free: 14.88 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.0005717/0.3757, allocations: 357.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3757, allocations: 12.03 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.3758, allocations: 30.75 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3758, allocations: 8.891 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3759, allocations: 114.4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3759, allocations: 384 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.376, allocations: 4.375 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3762, allocations: 81.78 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3762, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3762, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3762, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3763, allocations: 51.95 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.3767, allocations: 255.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3769, allocations: 58.48 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.377, allocations: 44.91 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.377, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.377, allocations: 38.56 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.377, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004561/0.3775, allocations: 183.2 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.3775, allocations: 85.11 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3776, allocations: 129.7 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3777, allocations: 25.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.3777, allocations: 88.14 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.3777, allocations: 7.984 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3778, allocations: 25.7 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3779, allocations: 318.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3781, allocations: 59.95 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3782, allocations: 55.97 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3784, allocations: 193.9 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3784, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003148/0.3787, allocations: 229 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.3788, allocations: 63.41 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3788, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3788, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.3789, allocations: 7.984 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3789, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.3789, allocations: 7.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3789, allocations: 4 kB / 1.331 GB, free: 12.12 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.0001245/0.3791, allocations: 159.5 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3791, allocations: 8.188 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.3791, allocations: 7.984 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3791, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3791, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3791, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.3793, allocations: 148.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3793, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.3793, allocations: 7.984 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3793, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3793, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3793, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3793, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3796, allocations: 253.1 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.3797, allocations: 3.953 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3797, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3797, allocations: 11.92 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3799, allocations: 11.97 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3799, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.3799, allocations: 99.25 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3799, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003316/0.3803, allocations: 59.88 kB / 1.332 GB, free: 11.26 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.0008126/0.3811, allocations: 0.8367 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.3815, allocations: 230.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3815, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.3817, allocations: 99.38 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.382, allocations: 9.625 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.384, allocations: 1.759 MB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3843, allocations: 0.6963 MB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3844, allocations: 0 / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.3844, allocations: 11.44 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3844, allocations: 0 / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.4142, allocations: 2.884 MB / 1.338 GB, free: 4.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.65, allocations: 6.172 kB / 1.338 GB, free: 4.727 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: 19.743029930163175]