Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001323/0.001323, allocations: 110.7 kB / 17.6 MB, free: 4.688 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.001325/0.001325, allocations: 190 kB / 20.78 MB, free: 1.52 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.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.89 kB / 1.107 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.086, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001862/1.088, allocations: 0.6563 MB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004319/1.088, allocations: 203.8 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/1.088, allocations: 0 / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/1.088, allocations: 3.938 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/1.088, allocations: 11.11 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/1.088, allocations: 73.36 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/1.088, allocations: 30.16 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/1.088, allocations: 3.109 kB / 1.273 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/1.089, allocations: 16 kB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/1.089, allocations: 28.59 kB / 1.273 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/1.089, allocations: 2.438 kB / 1.273 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/1.089, allocations: 108.4 kB / 1.273 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/1.089, allocations: 7.641 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/1.089, allocations: 17.78 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/1.089, allocations: 98.61 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.089, allocations: 0.9688 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.089, allocations: 0 / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.089, allocations: 0 / 1.273 GB, free: 7.008 MB / 0.9981 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.0004636/1.09, allocations: 375.4 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.09, allocations: 10.25 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/1.09, allocations: 32.44 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/1.09, allocations: 6.609 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.09, allocations: 176.2 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.09, allocations: 1.281 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/1.09, allocations: 6.078 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.09, allocations: 52.67 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.09, allocations: 8.688 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.09, allocations: 4.812 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.09, allocations: 0.875 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/1.09, allocations: 33.77 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/1.09, allocations: 244.3 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/1.091, allocations: 77.67 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/1.091, allocations: 20.5 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.091, allocations: 1.828 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/1.091, allocations: 39.94 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/1.091, allocations: 0.7188 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.02907/1.12, allocations: 1.615 MB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.12, allocations: 53.06 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.12, allocations: 115.5 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/1.12, allocations: 26.78 kB / 1.276 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/1.12, allocations: 91.41 kB / 1.276 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/1.12, allocations: 29.16 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.12, allocations: 25.48 kB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/1.12, allocations: 322.4 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/1.121, allocations: 139.6 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/1.121, allocations: 145.4 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.123, allocations: 300.5 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.123, allocations: 0.7188 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001407/1.124, allocations: 335 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.124, allocations: 6.562 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.124, allocations: 0 / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/1.124, allocations: 1.094 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.126, allocations: 68.33 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.126, allocations: 0.7969 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.127, allocations: 48.08 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/1.127, allocations: 2.719 kB / 1.277 GB, free: 4.793 MB / 0.9981 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.0001645/1.127, allocations: 119.7 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/1.127, allocations: 6.828 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/1.127, allocations: 20.33 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.127, allocations: 1.031 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/1.127, allocations: 1 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.127, allocations: 0 / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006102/1.134, allocations: 0.8489 MB / 1.278 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.134, allocations: 6.031 kB / 1.278 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.135, allocations: 56.06 kB / 1.278 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.135, allocations: 1.344 kB / 1.278 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/1.135, allocations: 7.484 kB / 1.278 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.135, allocations: 5.375 kB / 1.278 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.135, allocations: 0.7188 kB / 1.278 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/1.136, allocations: 326 kB / 1.278 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/1.136, allocations: 83.73 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/1.136, allocations: 5.875 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.137, allocations: 39.8 kB / 1.279 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/1.137, allocations: 4.562 kB / 1.279 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/1.137, allocations: 8.203 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.198e-05/1.137, allocations: 92.28 kB / 1.279 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.137, allocations: 1.844 kB / 1.279 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004826/1.138, allocations: 94.23 kB / 1.279 GB, free: 3.852 MB / 0.9981 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.001394/1.139, allocations: 0.8838 MB / 1.28 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.14, allocations: 240.7 kB / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.14, allocations: 480 / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/1.141, allocations: 94.34 kB / 1.28 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/1.141, allocations: 10.08 kB / 1.28 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/1.148, allocations: 2.697 MB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/1.148, allocations: 0.684 MB / 1.283 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000459/1.149, allocations: 49.14 kB / 1.283 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/1.149, allocations: 23.14 kB / 1.283 GB, free: 16.53 MB / 1.014 GB Notification: Performance of SimCode: time 1.533e-06/1.149, allocations: 0 / 1.283 GB, free: 16.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/1.193, allocations: 9.869 MB / 1.293 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.633, allocations: 11.64 kB / 1.293 GB, free: 15.85 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.974431900016498]