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.001359/0.001359, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001446/0.001446, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.615/1.615, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.2/3.2, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 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.002374/0.002374, allocations: 63.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0017/1.115, allocations: 0.6382 MB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004308/1.115, allocations: 210.6 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/1.115, allocations: 0 / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/1.115, allocations: 3.938 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001752/1.116, allocations: 11.39 kB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/1.116, allocations: 69.28 kB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/1.116, allocations: 26.52 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/1.116, allocations: 3.609 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/1.116, allocations: 15.98 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/1.116, allocations: 23.25 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/1.116, allocations: 6.312 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/1.116, allocations: 110.3 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/1.116, allocations: 7.484 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/1.116, allocations: 16.59 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/1.117, allocations: 107 kB / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.117, allocations: 1.125 kB / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/1.117, allocations: 0 / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.117, allocations: 0 / 1.341 GB, free: 15.56 MB / 1.061 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.0005195/1.117, allocations: 379.9 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.117, allocations: 9.406 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.401e-05/1.117, allocations: 1.219 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/1.117, allocations: 32.69 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/1.118, allocations: 55.86 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/1.118, allocations: 184.3 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/1.118, allocations: 8.375 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/1.118, allocations: 3.25 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.118, allocations: 83.95 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.118, allocations: 0 / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.118, allocations: 2.141 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.118, allocations: 0 / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/1.119, allocations: 54.22 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/1.119, allocations: 264.2 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/1.119, allocations: 95.34 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.119, allocations: 36.72 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/1.119, allocations: 1.094 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/1.119, allocations: 32.45 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/1.119, allocations: 0 / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.02841/1.148, allocations: 1.525 MB / 1.344 GB, free: 14.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.148, allocations: 53.47 kB / 1.344 GB, free: 14.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.148, allocations: 120.4 kB / 1.344 GB, free: 14.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/1.148, allocations: 27.02 kB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/1.148, allocations: 86.66 kB / 1.344 GB, free: 13.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/1.148, allocations: 30.14 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.148, allocations: 27.69 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/1.148, allocations: 322.6 kB / 1.345 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.149, allocations: 148.5 kB / 1.345 GB, free: 13.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/1.149, allocations: 153.5 kB / 1.345 GB, free: 13.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.151, allocations: 327.6 kB / 1.345 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.151, allocations: 0 / 1.345 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001357/1.152, allocations: 358.4 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.152, allocations: 6.094 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.152, allocations: 4 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.152, allocations: 0.9062 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.154, allocations: 68.02 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.154, allocations: 0.7031 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.155, allocations: 48.56 kB / 1.346 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/1.155, allocations: 3.984 kB / 1.346 GB, free: 13.29 MB / 1.061 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.0001984/1.156, allocations: 116.7 kB / 1.346 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.156, allocations: 14.95 kB / 1.346 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.156, allocations: 19.38 kB / 1.346 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.156, allocations: 1.25 kB / 1.346 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.156, allocations: 0 / 1.346 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.156, allocations: 0.7031 kB / 1.346 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/1.162, allocations: 0.8734 MB / 1.347 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.162, allocations: 0 / 1.347 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.163, allocations: 62.89 kB / 1.347 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.163, allocations: 10.28 kB / 1.347 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/1.163, allocations: 6.562 kB / 1.347 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.163, allocations: 1.094 kB / 1.347 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.163, allocations: 1.688 kB / 1.347 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/1.164, allocations: 347 kB / 1.347 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/1.165, allocations: 84.52 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/1.165, allocations: 7.344 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.166, allocations: 42.48 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/1.166, allocations: 4.531 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/1.166, allocations: 8.172 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.399e-05/1.166, allocations: 100.2 kB / 1.347 GB, free: 12.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 1.347 GB, free: 12.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004661/1.166, allocations: 88.59 kB / 1.348 GB, free: 12.34 MB / 1.061 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.001336/1.168, allocations: 0.8807 MB / 1.348 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00118/1.169, allocations: 263 kB / 1.349 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.169, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/1.169, allocations: 99.48 kB / 1.349 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/1.17, allocations: 8.578 kB / 1.349 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/1.177, allocations: 2.814 MB / 1.351 GB, free: 9.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/1.177, allocations: 0.6852 MB / 1.352 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004589/1.178, allocations: 60.31 kB / 1.352 GB, free: 8.973 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/1.178, allocations: 23.72 kB / 1.352 GB, free: 8.957 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/1.178, allocations: 0 / 1.352 GB, free: 8.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/1.216, allocations: 10.29 MB / 1.362 GB, free: 8.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.974, allocations: 11.86 kB / 1.362 GB, free: 8.246 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.906395961006638]