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.001802/0.001802, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002355/0.002355, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.49/3.49, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.001984/0.001984, allocations: 62.34 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4324, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002373/0.4348, allocations: 0.6225 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.4355, allocations: 191.6 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.4355, allocations: 0 / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.4355, allocations: 3.938 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.4357, allocations: 7.938 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.4361, allocations: 71.75 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.4362, allocations: 31.97 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.4362, allocations: 7.984 kB / 1.346 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.4363, allocations: 15.92 kB / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.4364, allocations: 15.92 kB / 1.346 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.4364, allocations: 4 kB / 1.346 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.4366, allocations: 51.83 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.4366, allocations: 15.91 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.4366, allocations: 11.94 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.4369, allocations: 95.94 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4369, allocations: 0 / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4369, allocations: 4 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4369, allocations: 0 / 1.346 GB, free: 14.78 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.0006861/0.4376, allocations: 290.1 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4376, allocations: 8.031 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.076e-05/0.4376, allocations: 4.188 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.4377, allocations: 30.75 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.4384, allocations: 60.78 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4386, allocations: 118.5 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4386, allocations: 4.375 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.4386, allocations: 4.375 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4389, allocations: 81.92 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4389, allocations: 3.938 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.4389, allocations: 0 / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4389, allocations: 0 / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.4392, allocations: 63.89 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.4395, allocations: 220 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.4399, allocations: 94.52 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.44, allocations: 32.94 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.44, allocations: 3.938 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.4401, allocations: 38.56 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4401, allocations: 0 / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.02794/0.468, allocations: 1.523 MB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.4681, allocations: 51.41 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4683, allocations: 125.7 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.4684, allocations: 25.7 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.4685, allocations: 88.14 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.4686, allocations: 23.8 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.4688, allocations: 25.7 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.469, allocations: 322.8 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.4695, allocations: 151.9 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.4701, allocations: 159.9 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.4712, allocations: 316.7 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4712, allocations: 0 / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001387/0.4725, allocations: 365.5 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4726, allocations: 4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4726, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4726, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.4743, allocations: 64.58 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.4743, allocations: 8.062 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.4757, allocations: 59.94 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.4758, allocations: 4 kB / 1.351 GB, free: 10.26 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.0002547/0.476, allocations: 121.7 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4761, allocations: 7.953 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.4763, allocations: 12.38 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.4763, allocations: 11.92 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4763, allocations: 0 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4763, allocations: 0 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.4823, allocations: 0.7698 MB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4823, allocations: 0 / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4834, allocations: 63.98 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.4834, allocations: 0 / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.4835, allocations: 11.94 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4835, allocations: 0 / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4835, allocations: 0 / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.4846, allocations: 341.1 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.4847, allocations: 15.95 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4848, allocations: 7.922 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.4858, allocations: 43.95 kB / 1.352 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.4858, allocations: 3.984 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.4859, allocations: 4 kB / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.6e-05/0.486, allocations: 99.27 kB / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.486, allocations: 0 / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004419/0.4864, allocations: 88 kB / 1.352 GB, free: 8.586 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.001564/0.488, allocations: 0.878 MB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.4891, allocations: 263.8 kB / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4891, allocations: 0 / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.4895, allocations: 111.9 kB / 1.353 GB, free: 7.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4899, allocations: 5.031 kB / 1.353 GB, free: 7.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.4979, allocations: 2.81 MB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.498, allocations: 79.22 kB / 1.356 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.4985, allocations: 63.92 kB / 1.356 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/0.4991, allocations: 19.42 kB / 1.356 GB, free: 4.227 MB / 1.045 GB Notification: Performance of SimCode: time 2.875e-06/0.4991, allocations: 0 / 1.356 GB, free: 4.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.5382, allocations: 10.9 MB / 1.367 GB, free: 9.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.45, allocations: 12.72 kB / 1.367 GB, free: 9.438 MB / 1.061 GB " [Timeout remaining time 287] (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.806323644006625]