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.0007859/0.0007859, 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.0007831/0.0007831, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.035e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00131/0.00133, allocations: 0.6333 MB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.001695, allocations: 175.2 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.001726, allocations: 0 / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.001745, allocations: 7.875 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.001936, allocations: 15.88 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.002122, allocations: 71.75 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.00219, allocations: 31.89 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.002234, allocations: 4 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.002285, allocations: 19.92 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.002345, allocations: 11.98 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.002362, allocations: 4 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.002463, allocations: 51.81 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.002481, allocations: 11.92 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.0025, allocations: 7.984 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.00263, allocations: 99.72 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002632, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002633, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002636, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 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.0003854/0.003022, allocations: 290.1 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.003061, allocations: 12.75 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.003088, allocations: 30.75 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.003405, allocations: 60.78 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.00351, allocations: 133.6 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003521, allocations: 384 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.003546, allocations: 384 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.003705, allocations: 82.17 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.003715, allocations: 192 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.003728, allocations: 384 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003036/0.004031, allocations: 4.125 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.004184, allocations: 59.95 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.004422, allocations: 216 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.004651, allocations: 102.5 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.004731, allocations: 32.94 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.004747, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.004767, allocations: 42.44 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004768, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.01234/0.01711, allocations: 1.527 MB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.01714, allocations: 51.41 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.01722, allocations: 121.8 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.01727, allocations: 25.7 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.01731, allocations: 92.09 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.01737, allocations: 27.73 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.0175, allocations: 25.7 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.01757, allocations: 318.8 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.01794, allocations: 159.9 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.01829, allocations: 151.9 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.01906, allocations: 316.8 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01906, allocations: 3.938 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008849/0.01995, allocations: 361.5 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01996, allocations: 4 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01997, allocations: 0 / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01998, allocations: 0 / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.0207, allocations: 63.92 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.02071, allocations: 0 / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.02131, allocations: 55.94 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.02134, allocations: 4 kB / 1.005 GB, free: 7.789 MB / 0.9636 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.0001286/0.02147, allocations: 118.4 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.02152, allocations: 7.953 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.0216, allocations: 16.44 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.02161, allocations: 4 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02161, allocations: 0 / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02162, allocations: 7.984 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.02453, allocations: 0.759 MB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02453, allocations: 3.938 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.02503, allocations: 63.94 kB / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02504, allocations: 0 / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.02507, allocations: 7.984 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02507, allocations: 3.938 kB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02507, allocations: 0 / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.02576, allocations: 349.1 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.02577, allocations: 4 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.02581, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.02628, allocations: 47.94 kB / 1.006 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.0263, allocations: 11.88 kB / 1.006 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.02633, allocations: 7.984 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.02637, allocations: 95.27 kB / 1.006 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02637, allocations: 0 / 1.006 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000252/0.02662, allocations: 92 kB / 1.007 GB, free: 6.121 MB / 0.9636 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.0009226/0.02754, allocations: 0.8663 MB / 1.007 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.02827, allocations: 263.9 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02827, allocations: 4 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.02857, allocations: 107.9 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.02879, allocations: 7.938 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.03328, allocations: 2.811 MB / 1.011 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.03334, allocations: 71.62 kB / 1.011 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000296/0.03364, allocations: 59.98 kB / 1.011 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.03401, allocations: 24.48 kB / 1.011 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of SimCode: time 1.102e-06/0.03401, allocations: 4 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.06002, allocations: 11.97 MB / 1.022 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.362, allocations: 15.97 kB / 1.022 GB, free: 5.84 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.499214386567473]