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.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.001865/0.001865, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.00214/0.00214, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_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.00242/0.00242, allocations: 65.78 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002354/1.044, allocations: 0.638 MB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/1.045, allocations: 201.9 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/1.045, allocations: 0.75 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/1.045, allocations: 3.938 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/1.045, allocations: 15.33 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/1.046, allocations: 72.95 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/1.046, allocations: 27.3 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/1.046, allocations: 7.156 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/1.046, allocations: 15.75 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.046, allocations: 24.41 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/1.046, allocations: 2.156 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/1.046, allocations: 105.3 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/1.046, allocations: 11.45 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/1.046, allocations: 17.31 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/1.047, allocations: 99.14 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.047, allocations: 1.062 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.356e-06/1.047, allocations: 0 / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.047, allocations: 0 / 1.28 GB, free: 11.05 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.0008152/1.047, allocations: 378.5 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/1.048, allocations: 14.98 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.367e-05/1.048, allocations: 192 / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/1.048, allocations: 32.66 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/1.048, allocations: 2.875 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/1.048, allocations: 171.8 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.048, allocations: 5.5 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/1.048, allocations: 6.594 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/1.048, allocations: 65.36 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.048, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.048, allocations: 3.938 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.048, allocations: 1.125 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/1.048, allocations: 38.33 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/1.049, allocations: 251.1 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/1.049, allocations: 67.61 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/1.049, allocations: 24.03 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/1.049, allocations: 1.031 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/1.049, allocations: 36.28 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/1.049, allocations: 1.188 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.02898/1.078, allocations: 1.619 MB / 1.283 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.078, allocations: 51.97 kB / 1.283 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.078, allocations: 118 kB / 1.283 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/1.078, allocations: 29.7 kB / 1.283 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/1.079, allocations: 91.31 kB / 1.283 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/1.079, allocations: 29.17 kB / 1.283 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.079, allocations: 25.02 kB / 1.283 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.079, allocations: 317.9 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/1.08, allocations: 141.5 kB / 1.284 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/1.08, allocations: 145.3 kB / 1.284 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.081, allocations: 296.8 kB / 1.284 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.081, allocations: 0 / 1.284 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001417/1.083, allocations: 335.6 kB / 1.284 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.083, allocations: 4.922 kB / 1.284 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.083, allocations: 5.359 kB / 1.284 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.083, allocations: 0.7031 kB / 1.284 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.085, allocations: 63.84 kB / 1.284 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.085, allocations: 1.625 kB / 1.284 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.086, allocations: 53.66 kB / 1.284 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/1.086, allocations: 3.344 kB / 1.284 GB, free: 8.82 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.0002158/1.086, allocations: 116.5 kB / 1.285 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/1.086, allocations: 6.859 kB / 1.285 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/1.087, allocations: 19.89 kB / 1.285 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.087, allocations: 1.125 kB / 1.285 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/1.087, allocations: 1.219 kB / 1.285 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.087, allocations: 1.031 kB / 1.285 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/1.093, allocations: 0.8528 MB / 1.285 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.093, allocations: 1.188 kB / 1.285 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.094, allocations: 57.36 kB / 1.285 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.094, allocations: 0 / 1.285 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/1.094, allocations: 7.328 kB / 1.285 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/1.094, allocations: 6.172 kB / 1.285 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.094, allocations: 1.125 kB / 1.285 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.095, allocations: 326.3 kB / 1.286 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/1.095, allocations: 78.42 kB / 1.286 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/1.095, allocations: 11.81 kB / 1.286 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.096, allocations: 38.39 kB / 1.286 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/1.096, allocations: 4.109 kB / 1.286 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/1.096, allocations: 4.578 kB / 1.286 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.364e-05/1.096, allocations: 96.66 kB / 1.286 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.096, allocations: 288 / 1.286 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004775/1.097, allocations: 95.67 kB / 1.286 GB, free: 7.883 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.001506/1.098, allocations: 0.8798 MB / 1.287 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.099, allocations: 239.4 kB / 1.287 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.099, allocations: 4 kB / 1.287 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004414/1.1, allocations: 94.67 kB / 1.287 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.1, allocations: 10.36 kB / 1.287 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/1.107, allocations: 2.683 MB / 1.29 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.108, allocations: 0.6853 MB / 1.291 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004308/1.108, allocations: 49.25 kB / 1.291 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/1.109, allocations: 20.45 kB / 1.291 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.109, allocations: 5.094 kB / 1.291 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/1.147, allocations: 9.865 MB / 1.3 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/10.06, allocations: 24.78 kB / 1.3 GB, free: 3.363 MB / 0.9981 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 --stepSize=0.0012 --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/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: 16.559774018998723]