Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.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.001809/0.001809, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002332/0.002332, allocations: 206.8 kB / 22.24 MB, free: 5.262 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.801 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.799/2.799, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 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.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",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.002685/0.002685, allocations: 66.52 kB / 1.117 GB, free: 40.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.379, allocations: 169.9 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002983/0.382, allocations: 1.461 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.3824, allocations: 95.7 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3824, allocations: 4 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.024e-05/0.3825, allocations: 3.938 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.3825, allocations: 7.984 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3828, allocations: 19.91 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.3828, allocations: 27.92 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.3829, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.3829, allocations: 8 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.383, allocations: 11.92 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.383, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3831, allocations: 23.97 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.3831, allocations: 11.94 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.3832, allocations: 4 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3833, allocations: 39.88 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3833, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3833, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3833, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004516/0.3838, allocations: 268 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3838, allocations: 12.02 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.3838, allocations: 34.69 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3839, allocations: 8.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.384, allocations: 110.5 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.384, allocations: 4.375 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.384, allocations: 384 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3842, allocations: 54.17 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3842, allocations: 3.938 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.3842, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3842, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3844, allocations: 35.95 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3847, allocations: 228 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3848, allocations: 42.5 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.3849, allocations: 28.83 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.3849, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.385, allocations: 34.56 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.385, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003571/0.3853, allocations: 93.53 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3854, allocations: 55.41 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.3855, allocations: 109.8 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3855, allocations: 29.7 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.3856, allocations: 80.14 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3856, allocations: 7.891 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3856, allocations: 17.72 kB / 1.285 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3858, allocations: 314.8 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.3859, allocations: 19.98 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.386, allocations: 20.11 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3861, allocations: 40.81 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3861, allocations: 3.938 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.3863, allocations: 77.59 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3863, allocations: 4 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3863, allocations: 4.094 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3864, allocations: 0 / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.3864, allocations: 8 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3864, allocations: 3.984 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.3865, allocations: 4 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3865, allocations: 0 / 1.286 GB, free: 8.613 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0001353/0.3866, allocations: 113.8 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3867, allocations: 3.984 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.3869, allocations: 81.22 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3869, allocations: 4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3869, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3869, allocations: 3.938 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3871, allocations: 136.6 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3871, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.3872, allocations: 7.984 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3872, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3872, allocations: 4 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3872, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3872, allocations: 4.031 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3874, allocations: 167.5 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.3875, allocations: 0 / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3875, allocations: 256 / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3875, allocations: 15.98 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3876, allocations: 3.984 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3876, allocations: 11.88 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.3876, allocations: 83.27 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3876, allocations: 4.031 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.3879, allocations: 12 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000607/0.3885, allocations: 0.7018 MB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.3887, allocations: 39.95 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3887, allocations: 96 / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.3888, allocations: 31.92 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.389, allocations: 3.984 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.3895, allocations: 151 kB / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.3896, allocations: 63.34 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.3896, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.3896, allocations: 11.44 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3896, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.4179, allocations: 1.961 MB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 6.281 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.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: 18.673115774057806]