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.001494/0.001494, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.0014/0.0014, allocations: 212.7 kB / 23.03 MB, free: 4.922 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.365/3.365, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_12_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.002106/0.002106, allocations: 71.55 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3841, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002085/0.3861, allocations: 0.6256 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.3866, allocations: 175.7 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.3867, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.3867, allocations: 4 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.3869, allocations: 7.938 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3871, allocations: 75.73 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.3872, allocations: 31.86 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.3872, allocations: 0 / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.3873, allocations: 15.92 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.3873, allocations: 19.91 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3873, allocations: 4 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3875, allocations: 63.81 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.3875, allocations: 4 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3875, allocations: 15.92 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3878, allocations: 99.92 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3878, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3878, allocations: 3.938 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3878, allocations: 3.984 kB / 1.328 GB, free: 312 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.0006622/0.3884, allocations: 290.3 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3885, allocations: 12.03 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.3885, allocations: 192 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.3885, allocations: 34.75 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.3886, allocations: 4.938 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3888, allocations: 118.4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3888, allocations: 384 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3888, allocations: 8.359 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.389, allocations: 57.78 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.389, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.389, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.389, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3892, allocations: 39.91 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.3896, allocations: 220 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3898, allocations: 62.53 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.3899, allocations: 20.94 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3899, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3899, allocations: 34.56 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3899, allocations: 3.938 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02951/0.4194, allocations: 1.613 MB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4195, allocations: 51.41 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4196, allocations: 121.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.4197, allocations: 25.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4198, allocations: 92.09 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4199, allocations: 31.78 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.4201, allocations: 25.7 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4203, allocations: 322.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.4208, allocations: 143.9 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.4213, allocations: 135.9 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.4224, allocations: 300.7 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4224, allocations: 3.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001274/0.4237, allocations: 338 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4237, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4237, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4237, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.4253, allocations: 59.92 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4253, allocations: 96 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4266, allocations: 51.88 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.4266, allocations: 7.938 kB / 1.332 GB, free: 11.91 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.0002172/0.4269, allocations: 118.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/0.427, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.4271, allocations: 20.38 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4271, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4271, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4271, allocations: 7.984 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.4329, allocations: 0.7313 MB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4329, allocations: 64 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.434, allocations: 59.94 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.434, allocations: 3.938 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.434, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.434, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.434, allocations: 64 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.435, allocations: 333.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.4351, allocations: 7.984 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.4352, allocations: 3.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.4362, allocations: 43.95 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4362, allocations: 11.97 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.4363, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.4364, allocations: 91.27 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000456/0.4368, allocations: 95.94 kB / 1.333 GB, free: 10.29 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.001468/0.4383, allocations: 0.8701 MB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.4393, allocations: 243.8 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4393, allocations: 3.938 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.4398, allocations: 95.88 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.4401, allocations: 6.188 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.4472, allocations: 2.686 MB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.4473, allocations: 67.34 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004759/0.4478, allocations: 51.98 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.4483, allocations: 23.42 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of SimCode: time 1.513e-06/0.4483, allocations: 0 / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.4874, allocations: 10.43 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.35, allocations: 7.312 kB / 1.347 GB, free: 11.81 MB / 1.045 GB " [Timeout remaining time 287] (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.357149890973233]