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.001894/0.001894, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002683/0.002683, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 8.039 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.57/3.57, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.002091/0.002091, allocations: 66.98 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002361/0.3995, allocations: 0.6634 MB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.4001, allocations: 195.6 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.4002, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.4002, allocations: 3.938 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.4004, allocations: 11.92 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.4007, allocations: 79.75 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.4008, allocations: 27.92 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.4008, allocations: 7.984 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.4009, allocations: 11.92 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.401, allocations: 27.91 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.401, allocations: 0 / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.4012, allocations: 107.7 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.4012, allocations: 4 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.4012, allocations: 19.86 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.4015, allocations: 103.9 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4015, allocations: 8 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4015, allocations: 0 / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.4015, allocations: 0 / 1.354 GB, free: 7.145 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.000724/0.4022, allocations: 294.1 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4023, allocations: 8.031 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.4023, allocations: 34.73 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.403, allocations: 56.84 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4032, allocations: 122.4 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4032, allocations: 4.375 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.4032, allocations: 4.375 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.4035, allocations: 78.12 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4035, allocations: 3.938 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4035, allocations: 3.938 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4035, allocations: 7.938 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4038, allocations: 51.95 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4041, allocations: 232 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.4045, allocations: 98.45 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4046, allocations: 36.88 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4046, allocations: 8 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4046, allocations: 30.56 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4046, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.02783/0.4325, allocations: 1.519 MB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4325, allocations: 51.41 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4327, allocations: 125.8 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.4327, allocations: 25.7 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.4328, allocations: 84.14 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.433, allocations: 27.8 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4332, allocations: 25.7 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4333, allocations: 318.8 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.4338, allocations: 151.9 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.4344, allocations: 163.9 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.4355, allocations: 317.3 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4355, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001295/0.4368, allocations: 369.4 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4368, allocations: 8 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4368, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4368, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4386, allocations: 63.92 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4386, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4401, allocations: 55.94 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.4401, allocations: 4 kB / 1.358 GB, free: 2.621 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.0002311/0.4404, allocations: 125.7 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4405, allocations: 3.953 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4406, allocations: 20.38 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4406, allocations: 3.984 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4406, allocations: 3.938 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4406, allocations: 4 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.4472, allocations: 0.8443 MB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4472, allocations: 0 / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.4484, allocations: 59.94 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4484, allocations: 0 / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.4485, allocations: 7.922 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4485, allocations: 4 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4485, allocations: 0 / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4496, allocations: 349.1 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.4496, allocations: 7.953 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.4497, allocations: 7.938 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.4508, allocations: 47.94 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.4508, allocations: 4 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.4509, allocations: 7.984 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.451, allocations: 91.28 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.451, allocations: 0 / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004119/0.4514, allocations: 92.38 kB / 1.36 GB, free: 0.8672 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.001468/0.4528, allocations: 0.8702 MB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.4539, allocations: 271.7 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4539, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.4544, allocations: 107.9 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4547, allocations: 6.234 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.4622, allocations: 2.817 MB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4626, allocations: 0.6846 MB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004672/0.463, allocations: 56 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.4636, allocations: 23.42 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.4636, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04381/0.5074, allocations: 10.45 MB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.22, allocations: 6.781 kB / 1.375 GB, free: 1.512 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.50181718287058]