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.00131/0.00131, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001508/0.001508, allocations: 215 kB / 22.25 MB, free: 5.086 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.02 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 3.056/3.056, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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.002037/0.002037, allocations: 64.95 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 170 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002978/0.3416, allocations: 1.471 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.3419, allocations: 95.75 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.342, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.342, allocations: 3.984 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.3421, allocations: 3.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3424, allocations: 19.92 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.3424, allocations: 31.84 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.3425, allocations: 8 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.3426, allocations: 11.98 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.3426, allocations: 11.94 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3426, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3427, allocations: 23.97 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.3428, allocations: 7.984 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.3428, allocations: 11.94 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3429, allocations: 39.39 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.343, allocations: 4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.343, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.343, allocations: 0 / 1.285 GB, free: 10.01 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.000589/0.3436, allocations: 270.3 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.3436, allocations: 8.031 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3437, allocations: 30.75 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3437, allocations: 4.938 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3439, allocations: 110.4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3439, allocations: 384 / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3439, allocations: 4.375 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3442, allocations: 54.23 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3442, allocations: 3.938 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3443, allocations: 11.98 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3443, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.3446, allocations: 39.95 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3452, allocations: 231.9 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.3453, allocations: 42.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.3454, allocations: 32.83 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.3455, allocations: 4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3455, allocations: 30.56 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3455, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000424/0.3459, allocations: 97.53 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.346, allocations: 51.41 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3461, allocations: 105.8 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3461, allocations: 25.7 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.3462, allocations: 84.14 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3462, allocations: 7.953 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3463, allocations: 9.719 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3465, allocations: 327 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.3465, allocations: 11.98 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.3466, allocations: 19.98 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3468, allocations: 40.81 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3468, allocations: 3.938 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.347, allocations: 77.66 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.347, allocations: 4 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.347, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.347, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.3471, allocations: 15.98 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3471, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3472, allocations: 4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3472, allocations: 0 / 1.287 GB, free: 8.086 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.0001/0.3473, allocations: 121.8 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3473, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3475, allocations: 73.28 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3476, allocations: 7.938 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3476, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3476, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3478, allocations: 140.6 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3478, allocations: 4.031 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.3478, allocations: 7.984 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3478, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3478, allocations: 4.188 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3478, allocations: 8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3478, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3481, allocations: 167.5 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.3481, allocations: 4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3481, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.3482, allocations: 7.984 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3482, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3483, allocations: 3.938 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.3483, allocations: 87.27 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 3.938 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002352/0.3485, allocations: 12 kB / 1.287 GB, free: 7.367 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.0006065/0.3492, allocations: 0.7045 MB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3494, allocations: 43.98 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3494, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.3495, allocations: 23.92 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3498, allocations: 3.984 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.3502, allocations: 151.1 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3506, allocations: 0.6768 MB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.3506, allocations: 8.125 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.3506, allocations: 11.44 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3506, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3807, allocations: 1.539 MB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 4.562 kB / 1.29 GB, free: 4.246 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.551578297046944]