Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001801/0.001801, allocations: 110.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: 219 kB / 22.26 MB, free: 5.121 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.992 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.257/3.257, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001985/0.001985, allocations: 72.52 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4123, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002135/0.4144, allocations: 0.6217 MB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.4167, allocations: 1.455 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.4168, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/0.4168, allocations: 7.938 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.4169, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.4177, allocations: 185.2 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4178, allocations: 47.89 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.4178, allocations: 8.266 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.4179, allocations: 19.92 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.418, allocations: 27.91 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.418, allocations: 4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.4185, allocations: 227.7 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.4186, allocations: 15.92 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4187, allocations: 19.86 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.4192, allocations: 187.4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4192, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4192, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.4192, allocations: 0 / 1.329 GB, free: 15.08 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.0007532/0.42, allocations: 373.2 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.42, allocations: 8.031 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.4201, allocations: 34.69 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.4201, allocations: 8.891 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.4204, allocations: 118.4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4204, allocations: 4.375 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.4204, allocations: 4.375 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4207, allocations: 97.77 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4207, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4207, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.4207, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.4208, allocations: 59.95 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.4211, allocations: 156.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.4213, allocations: 78.47 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4214, allocations: 64.89 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4214, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.4214, allocations: 42.5 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4214, allocations: 3.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005848/0.422, allocations: 263.1 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.4221, allocations: 81.11 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.4223, allocations: 147.3 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4224, allocations: 25.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.4224, allocations: 88.14 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.4225, allocations: 15.88 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.4226, allocations: 29.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4228, allocations: 322.8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.423, allocations: 99.94 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4231, allocations: 107.9 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.4235, allocations: 273.9 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4235, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004855/0.424, allocations: 328.7 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.4241, allocations: 72.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4241, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4241, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.4241, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4242, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.4244, allocations: 11.95 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4245, allocations: 8 kB / 1.331 GB, free: 11.94 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001807/0.4246, allocations: 148 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.4247, allocations: 11.89 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.4247, allocations: 12.34 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.4247, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4247, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4247, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4249, allocations: 144.7 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4249, allocations: 3.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.4249, allocations: 3.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4249, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4249, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4249, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4249, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.4253, allocations: 238.6 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.4253, allocations: 11.83 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.4253, allocations: 7.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.4254, allocations: 7.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4255, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.202e-05/0.4256, allocations: 112.7 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4256, allocations: 4.031 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000378/0.4259, allocations: 63.92 kB / 1.332 GB, free: 11.09 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.000981/0.4269, allocations: 0.8052 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.4274, allocations: 334.6 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4274, allocations: 4.094 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4275, allocations: 119.4 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4277, allocations: 8 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.4304, allocations: 2.13 MB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4307, allocations: 0.6924 MB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.4307, allocations: 4 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.4308, allocations: 15.44 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4308, allocations: 0 / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.4629, allocations: 3.45 MB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.46, allocations: 5.781 kB / 1.34 GB, free: 3.484 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.530749852070585]