Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001799/0.001799, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00177/0.00177, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",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.001974/0.001974, allocations: 68.73 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 179 MB / 1.345 GB, free: 376 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002071/0.4082, allocations: 0.638 MB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.4087, allocations: 203.5 kB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.4087, allocations: 3.938 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.4088, allocations: 3.938 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.4089, allocations: 11.94 kB / 1.346 GB, free: 15.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.4091, allocations: 71.75 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.4092, allocations: 31.95 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.4093, allocations: 4 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.4093, allocations: 15.94 kB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.4094, allocations: 23.84 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.4094, allocations: 4 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.4096, allocations: 103.8 kB / 1.346 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.4096, allocations: 15.86 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.4097, allocations: 15.92 kB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.4098, allocations: 104 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4099, allocations: 3.984 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4099, allocations: 0 / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.4099, allocations: 0 / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005233/0.4104, allocations: 290.1 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4104, allocations: 15.97 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.252e-05/0.4104, allocations: 192 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.4105, allocations: 34.75 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.4111, allocations: 56.84 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4113, allocations: 122.4 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4113, allocations: 384 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.4113, allocations: 8.312 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.4115, allocations: 77.94 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4116, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4116, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4116, allocations: 4 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.4118, allocations: 67.89 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.4121, allocations: 231.9 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.4125, allocations: 94.52 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.4126, allocations: 32.94 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4126, allocations: 7.969 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4127, allocations: 42.55 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4127, allocations: 0 / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.02774/0.4404, allocations: 1.511 MB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4404, allocations: 55.41 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4406, allocations: 125.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.4407, allocations: 25.7 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.4407, allocations: 88.12 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.374e-05/0.4408, allocations: 23.81 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.4411, allocations: 25.7 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4412, allocations: 322.8 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.4418, allocations: 155.9 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.4423, allocations: 155.9 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.4435, allocations: 316.7 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4435, allocations: 4 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001373/0.4448, allocations: 353.5 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4449, allocations: 8 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4449, allocations: 0 / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4449, allocations: 0 / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4467, allocations: 67.86 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4467, allocations: 8.062 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4481, allocations: 56.59 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.4482, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002258/0.4484, allocations: 121.7 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4485, allocations: 3.953 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.4487, allocations: 28.36 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4487, allocations: 3.938 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4487, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4487, allocations: 3.938 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.4548, allocations: 0.8555 MB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4549, allocations: 0 / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.4561, allocations: 55.94 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4562, allocations: 0 / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.4562, allocations: 7.922 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.4562, allocations: 4 kB / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4562, allocations: 0 / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4574, allocations: 345.2 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.4574, allocations: 11.95 kB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.4575, allocations: 15.94 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.4587, allocations: 43.94 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.4587, allocations: 3.984 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4587, allocations: 4 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.466e-05/0.4588, allocations: 91.27 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4588, allocations: 4 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004146/0.4592, allocations: 92 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001524/0.4607, allocations: 0.8702 MB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.4619, allocations: 267.8 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.4619, allocations: 0 / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.4624, allocations: 107.9 kB / 1.354 GB, free: 7.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.4628, allocations: 13.84 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007934/0.4707, allocations: 2.803 MB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4711, allocations: 0.6923 MB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000522/0.4716, allocations: 55.98 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.4721, allocations: 23.42 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of SimCode: time 1.493e-06/0.4721, allocations: 3.938 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/0.5147, allocations: 10.48 MB / 1.367 GB, free: 9.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.23, allocations: 9.547 kB / 1.367 GB, free: 9.449 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.333662741002627]