Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 75.89 kB / 1.059 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2774, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00174/0.2792, allocations: 0.6416 MB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.2796, allocations: 207.1 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.2796, allocations: 0 / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2796, allocations: 3.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2798, allocations: 11.92 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.28, allocations: 75.75 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.2801, allocations: 27.86 kB / 1.217 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.2801, allocations: 7.984 kB / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.2802, allocations: 8 kB / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.2802, allocations: 31.83 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2802, allocations: 4 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.2804, allocations: 111.7 kB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2805, allocations: 4 kB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2805, allocations: 11.92 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2807, allocations: 111.8 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2807, allocations: 4 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2807, allocations: 0 / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2807, allocations: 0 / 1.217 GB, free: 14.6 MB / 0.9669 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.0005685/0.2813, allocations: 375.2 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2813, allocations: 8.031 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2813, allocations: 30.75 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.2814, allocations: 8.891 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2815, allocations: 176.3 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2815, allocations: 384 / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2816, allocations: 8.359 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2817, allocations: 50.23 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2817, allocations: 3.938 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2817, allocations: 4 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2817, allocations: 4 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2819, allocations: 39.91 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.2822, allocations: 248.9 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2824, allocations: 70.47 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.2824, allocations: 24.94 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2824, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2825, allocations: 34.5 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2825, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02661/0.3091, allocations: 1.609 MB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3091, allocations: 59.39 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3093, allocations: 113.8 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.3093, allocations: 25.7 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.3094, allocations: 92.08 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.3095, allocations: 31.78 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.3097, allocations: 21.7 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3098, allocations: 330.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.3103, allocations: 143.9 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.3108, allocations: 135.9 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3118, allocations: 309.2 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3118, allocations: 0 / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001216/0.3131, allocations: 337.5 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3131, allocations: 5.719 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3131, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3131, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.3146, allocations: 63.92 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3146, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3159, allocations: 43.95 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.316, allocations: 8.406 kB / 1.221 GB, free: 10 MB / 0.9669 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.0001793/0.3161, allocations: 113.8 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.3162, allocations: 7.953 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3163, allocations: 20.38 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3163, allocations: 7.984 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3164, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3164, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.3219, allocations: 0.8453 MB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3219, allocations: 0 / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.323, allocations: 51.94 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.323, allocations: 4 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.3231, allocations: 7.938 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3231, allocations: 0 / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3231, allocations: 4 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.324, allocations: 325.2 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3241, allocations: 89.06 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.3241, allocations: 15.92 kB / 1.223 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.3252, allocations: 35.95 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.3252, allocations: 4 kB / 1.223 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.3252, allocations: 4 kB / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.3253, allocations: 99.3 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3253, allocations: 0 / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004043/0.3257, allocations: 95.92 kB / 1.223 GB, free: 8.176 MB / 0.9669 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.00137/0.3271, allocations: 0.874 MB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009915/0.3281, allocations: 247.7 kB / 1.224 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3281, allocations: 0 / 1.224 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.3285, allocations: 87.89 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3288, allocations: 12.12 kB / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.3354, allocations: 2.683 MB / 1.227 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3357, allocations: 0.6846 MB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.3361, allocations: 56.2 kB / 1.227 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.3365, allocations: 23.42 kB / 1.227 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3365, allocations: 0 / 1.227 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.3709, allocations: 9.857 MB / 1.237 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.665, allocations: 16.11 kB / 1.237 GB, free: 9.523 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.905539172999852]