Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001897/0.001897, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00286/0.00286, allocations: 221.8 kB / 22.25 MB, free: 5.102 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.801 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.277/3.277, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.QuinticHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_12_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.002064/0.002064, allocations: 69.28 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4466, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002077/0.4487, allocations: 0.6395 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004895/0.4492, allocations: 183.6 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.4492, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.4492, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.4494, allocations: 7.938 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.4496, allocations: 79.73 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.4497, allocations: 27.86 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.4497, allocations: 4 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.4498, allocations: 15.98 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.4498, allocations: 23.84 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4499, allocations: 4 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.45, allocations: 59.81 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.45, allocations: 4 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.45, allocations: 15.92 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.4502, allocations: 88.02 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4502, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4502, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4502, allocations: 3.938 kB / 1.327 GB, free: 300 kB / 1.014 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.000621/0.4509, allocations: 290.1 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4509, allocations: 8.031 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.4509, allocations: 42.73 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.451, allocations: 0.9375 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4511, allocations: 122.4 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4512, allocations: 8.312 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4512, allocations: 384 / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4513, allocations: 58.23 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4514, allocations: 7.922 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4514, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4514, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.4515, allocations: 35.91 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.4518, allocations: 216.1 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.452, allocations: 78.44 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.4521, allocations: 24.94 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4521, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4522, allocations: 30.56 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.4522, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.03122/0.4834, allocations: 1.609 MB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4834, allocations: 55.41 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4836, allocations: 125.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.4837, allocations: 33.7 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.4837, allocations: 80.14 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4839, allocations: 31.73 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.4841, allocations: 25.72 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4842, allocations: 318.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.4847, allocations: 147.9 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.4852, allocations: 139.9 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.4862, allocations: 297.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4862, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001224/0.4874, allocations: 333.5 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.4874, allocations: 8 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4874, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4874, allocations: 3.938 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4891, allocations: 67.92 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4891, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4905, allocations: 47.95 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.4905, allocations: 3.984 kB / 1.331 GB, free: 11.89 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: 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.0002184/0.4908, allocations: 116.9 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4909, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.491, allocations: 20.31 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.491, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.491, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.491, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/0.4969, allocations: 0.7391 MB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4969, allocations: 4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.498, allocations: 52 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.498, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.4981, allocations: 11.94 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4981, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4981, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.499, allocations: 321.1 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.4991, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.4992, allocations: 23.98 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5002, allocations: 35.95 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.5002, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.5003, allocations: 7.984 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.5003, allocations: 91.28 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5003, allocations: 0 / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004479/0.5008, allocations: 96.3 kB / 1.333 GB, free: 10.28 MB / 1.029 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.001405/0.5022, allocations: 0.8703 MB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.5032, allocations: 251.7 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5032, allocations: 0 / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.5036, allocations: 91.89 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.5039, allocations: 19.17 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.5108, allocations: 2.681 MB / 1.336 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.687e-05/0.5109, allocations: 71.34 kB / 1.336 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004358/0.5114, allocations: 51.98 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.5118, allocations: 19.42 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of SimCode: time 1.282e-06/0.5118, allocations: 0 / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.5543, allocations: 11.34 MB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.11, allocations: 0 / 1.348 GB, free: 10.83 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.05769871000666]