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.001069/0.001069, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001255/0.001255, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.798e-05, allocations: 6.219 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001085/0.001103, allocations: 0.6414 MB / 0.9816 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.001393, allocations: 183.2 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.001418, allocations: 0 / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.001433, allocations: 3.938 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.001577, allocations: 3.984 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.001747, allocations: 75.69 kB / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.001807, allocations: 23.92 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.001853, allocations: 7.984 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.001899, allocations: 23.92 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.00196, allocations: 15.97 kB / 0.982 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.001977, allocations: 4 kB / 0.982 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.002072, allocations: 51.77 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.002089, allocations: 11.97 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.002108, allocations: 7.938 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.002243, allocations: 91.78 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.002246, allocations: 3.984 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002247, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.002252, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 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.0004291/0.002682, allocations: 294.1 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.002721, allocations: 12.03 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.002751, allocations: 30.75 kB / 0.9824 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.002774, allocations: 4.891 kB / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.002866, allocations: 121.7 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.002876, allocations: 384 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.002894, allocations: 4.375 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.003008, allocations: 58.16 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.003018, allocations: 4.141 kB / 0.9826 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.003027, allocations: 8.375 kB / 0.9826 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003033, allocations: 4.125 kB / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.003114, allocations: 35.91 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.003334, allocations: 216.1 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.003465, allocations: 74.45 kB / 0.983 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.003507, allocations: 20.94 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.003521, allocations: 4 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.003542, allocations: 38.5 kB / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.003543, allocations: 0 / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.01282/0.01636, allocations: 1.613 MB / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.0164, allocations: 51.41 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.01648, allocations: 117.8 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.01652, allocations: 29.7 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.01657, allocations: 88.09 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.01662, allocations: 31.72 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01674, allocations: 25.7 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.01682, allocations: 318.8 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.01715, allocations: 139.9 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.01747, allocations: 147.9 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.01815, allocations: 293.3 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01815, allocations: 3.938 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008195/0.01897, allocations: 345.4 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01899, allocations: 4 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01899, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01901, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.0197, allocations: 63.92 kB / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.0197, allocations: 0 / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.02026, allocations: 43.95 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.0203, allocations: 7.984 kB / 0.9862 GB, free: 13.01 MB / 0.948 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.000113/0.02041, allocations: 117.8 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.02046, allocations: 7.953 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.02054, allocations: 16.44 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02055, allocations: 7.938 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.02055, allocations: 0 / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.02055, allocations: 0 / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.0234, allocations: 0.7395 MB / 0.9871 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0234, allocations: 0 / 0.9871 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.02388, allocations: 51.94 kB / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02388, allocations: 4 kB / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.02391, allocations: 0 / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02391, allocations: 0 / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.02391, allocations: 7.938 kB / 0.9872 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.02454, allocations: 321.2 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.02455, allocations: 11.95 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.02459, allocations: 3.984 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.02502, allocations: 39.95 kB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.02503, allocations: 3.938 kB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.02505, allocations: 7.984 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.02509, allocations: 107.2 kB / 0.9876 GB, free: 11.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.02509, allocations: 0 / 0.9876 GB, free: 11.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002677/0.02536, allocations: 87.94 kB / 0.9877 GB, free: 11.41 MB / 0.948 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.001133/0.02649, allocations: 0.8701 MB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.02717, allocations: 244.2 kB / 0.9888 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02717, allocations: 192 / 0.9888 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.02744, allocations: 95.88 kB / 0.9889 GB, free: 10.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.02766, allocations: 15.81 kB / 0.9889 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.03145, allocations: 2.687 MB / 0.9915 GB, free: 7.375 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.0315, allocations: 75.31 kB / 0.9916 GB, free: 7.281 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.03173, allocations: 48 kB / 0.9916 GB, free: 7.234 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.03206, allocations: 28.48 kB / 0.9917 GB, free: 7.203 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.03206, allocations: 0 / 0.9917 GB, free: 7.203 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.05497, allocations: 11.46 MB / 1.003 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.427, allocations: 3.938 kB / 1.003 GB, free: 11.84 MB / 0.9636 GB " [Timeout remaining time 292] (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/jenkins/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: 11.457574751228094]