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.001245/0.001245, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001377/0.001377, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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.002015/0.002015, allocations: 61.91 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4237, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001914/0.4256, allocations: 0.6449 MB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.4261, allocations: 203.5 kB / 1.328 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.4261, allocations: 0 / 1.328 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.4261, allocations: 7.875 kB / 1.328 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4263, allocations: 11.92 kB / 1.328 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4265, allocations: 71.75 kB / 1.328 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.4266, allocations: 19.98 kB / 1.328 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.4266, allocations: 7.984 kB / 1.328 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.4267, allocations: 15.92 kB / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.4267, allocations: 31.84 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4267, allocations: 0 / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.4269, allocations: 107.8 kB / 1.328 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.427, allocations: 15.86 kB / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.427, allocations: 15.92 kB / 1.328 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4272, allocations: 99.97 kB / 1.328 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4272, allocations: 4 kB / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4272, allocations: 0 / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4272, allocations: 0 / 1.328 GB, free: 0.6836 MB / 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.0005715/0.4278, allocations: 294.1 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4278, allocations: 8.031 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.923e-05/0.4278, allocations: 192 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.4279, allocations: 46.67 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.4279, allocations: 4.875 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.428, allocations: 118.4 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.428, allocations: 384 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4281, allocations: 384 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4282, allocations: 65.98 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4282, allocations: 3.984 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4282, allocations: 0 / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4282, allocations: 0 / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.4284, allocations: 31.97 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.4287, allocations: 224 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4289, allocations: 66.53 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.429, allocations: 20.94 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.429, allocations: 7.984 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.429, allocations: 30.56 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.429, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02788/0.4569, allocations: 1.613 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.457, allocations: 55.34 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4571, allocations: 129.7 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.4572, allocations: 29.7 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.4573, allocations: 92.12 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.4573, allocations: 19.81 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.4576, allocations: 29.7 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4577, allocations: 322.8 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.4582, allocations: 135.9 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.4587, allocations: 147.9 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4598, allocations: 300.7 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4598, allocations: 0 / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001258/0.461, allocations: 337.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.461, allocations: 4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.461, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4611, allocations: 432 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.4627, allocations: 63.88 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4627, allocations: 3.984 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4641, allocations: 47.95 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.4641, allocations: 4.656 kB / 1.332 GB, free: 12.28 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.0002125/0.4643, allocations: 126.2 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.4644, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.4646, allocations: 20.36 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4646, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4646, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4646, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/0.4707, allocations: 0.8247 MB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4707, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.4719, allocations: 51.94 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4719, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.4719, allocations: 7.938 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.4719, allocations: 8.047 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4719, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.4729, allocations: 325.1 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.4729, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.473, allocations: 3.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.4741, allocations: 43.95 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.4742, allocations: 7.984 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4742, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.106e-05/0.4743, allocations: 91.27 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4743, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004232/0.4747, allocations: 99.94 kB / 1.334 GB, free: 10.58 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.001442/0.4761, allocations: 0.8702 MB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.4772, allocations: 239.8 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4772, allocations: 0 / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4776, allocations: 96 kB / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4779, allocations: 9.875 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.4851, allocations: 2.681 MB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.4854, allocations: 0.6923 MB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.4858, allocations: 48 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.4863, allocations: 23.42 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.4863, allocations: 0 / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.5257, allocations: 10.05 MB / 1.348 GB, free: 11.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.21, allocations: 4 kB / 1.348 GB, free: 11.82 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.291873409994878]