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.001368/0.001368, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001436/0.001436, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.973 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.453/3.453, allocations: 0.49 GB / 0.7951 GB, free: 33.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="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: 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.002089/0.002089, allocations: 69.14 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4235, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002084/0.4256, allocations: 0.6333 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005232/0.4261, allocations: 207.5 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.4262, allocations: 4 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.4262, allocations: 3.938 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.4264, allocations: 11.94 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.4266, allocations: 75.73 kB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.4267, allocations: 19.98 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.4268, allocations: 4 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.4268, allocations: 19.86 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.4269, allocations: 23.91 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4269, allocations: 0 / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.4271, allocations: 119.7 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.4271, allocations: 3.938 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.4271, allocations: 15.92 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.4273, allocations: 108 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4273, allocations: 3.938 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4273, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4273, allocations: 0 / 1.327 GB, free: 0.6523 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.0005617/0.4279, allocations: 290.1 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4279, allocations: 8.031 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.428, allocations: 38.75 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.428, allocations: 4.875 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4282, allocations: 130.3 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4282, allocations: 4.375 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.4282, allocations: 384 / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4284, allocations: 54.23 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4284, allocations: 3.938 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.4284, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4284, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4285, allocations: 39.91 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.4288, allocations: 220.1 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.4291, allocations: 66.47 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.4291, allocations: 24.94 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4291, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4292, allocations: 30.56 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.4292, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02685/0.456, allocations: 1.621 MB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.4561, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4562, allocations: 121.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.4563, allocations: 25.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.4564, allocations: 88.09 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.4564, allocations: 27.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4566, allocations: 25.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4568, allocations: 322.8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.4572, allocations: 143.9 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.4577, allocations: 139.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.4587, allocations: 309.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4587, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001138/0.4598, allocations: 333.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4598, allocations: 7.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4598, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4599, allocations: 3.984 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.4613, allocations: 63.94 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4613, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4627, allocations: 47.94 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.4627, allocations: 0 / 1.331 GB, free: 12.26 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.0001837/0.4629, allocations: 126.2 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.463, allocations: 4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.4631, allocations: 16.38 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4631, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4631, allocations: 11.98 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4631, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.4686, allocations: 0.8208 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4686, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4697, allocations: 51.94 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4697, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.4698, allocations: 7.938 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4698, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4698, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.4707, allocations: 329.2 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.4707, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.4708, allocations: 7.922 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4718, allocations: 43.95 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.4718, allocations: 8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.4718, allocations: 3.984 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.4719, allocations: 95.31 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4719, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003979/0.4723, allocations: 99.92 kB / 1.333 GB, free: 10.55 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.001335/0.4736, allocations: 0.8624 MB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009686/0.4746, allocations: 251.8 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4746, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.475, allocations: 91.89 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4753, allocations: 11.98 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.4817, allocations: 2.682 MB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.482, allocations: 0.6807 MB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003989/0.4824, allocations: 55.98 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.4829, allocations: 23.42 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4829, allocations: 0 / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.5278, allocations: 10.02 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.28, allocations: 8.859 kB / 1.347 GB, free: 11.82 MB / 1.045 GB " [Timeout remaining time 286] (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: 22.57001251494512]