Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.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.001564/0.001564, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001712/0.001712, allocations: 188.9 kB / 22.22 MB, free: 5.105 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.398/1.398, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.109/3.109, allocations: 495.7 MB / 0.7831 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 71.39 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3573, allocations: 173.6 MB / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002739/0.36, allocations: 1.447 MB / 1.308 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.3603, allocations: 107.7 kB / 1.308 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.3604, allocations: 0 / 1.308 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.631e-05/0.3604, allocations: 3.938 kB / 1.308 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.3605, allocations: 0 / 1.308 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3607, allocations: 23.92 kB / 1.309 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.3608, allocations: 23.92 kB / 1.309 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3609, allocations: 7.984 kB / 1.309 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.3609, allocations: 11.98 kB / 1.309 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.361, allocations: 11.92 kB / 1.309 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.361, allocations: 4 kB / 1.309 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3611, allocations: 27.97 kB / 1.309 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.3612, allocations: 4 kB / 1.309 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.3612, allocations: 11.94 kB / 1.309 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3613, allocations: 31.83 kB / 1.309 GB, free: 260 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3613, allocations: 4 kB / 1.309 GB, free: 256 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3613, allocations: 3.938 kB / 1.309 GB, free: 252 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3613, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 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.0005015/0.3618, allocations: 270.2 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3619, allocations: 12.03 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.3619, allocations: 4.938 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.362, allocations: 122.4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.362, allocations: 384 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3621, allocations: 4.375 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3622, allocations: 50.23 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3623, allocations: 192 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3623, allocations: 3.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3623, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.3625, allocations: 35.97 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.3628, allocations: 224 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3629, allocations: 50.42 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.363, allocations: 24.89 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3631, allocations: 4 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3631, allocations: 38.56 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3631, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.3635, allocations: 85.58 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3635, allocations: 55.41 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3636, allocations: 110 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3636, allocations: 25.7 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.3637, allocations: 84.08 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3637, allocations: 11.94 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3637, allocations: 13.72 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3639, allocations: 310.8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.364, allocations: 19.98 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.364, allocations: 23.97 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3642, allocations: 40.83 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3642, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.3644, allocations: 81.48 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3644, allocations: 6.188 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3644, allocations: 4.094 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3645, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.3645, allocations: 11.98 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3645, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.3646, allocations: 8.234 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3646, allocations: 3.938 kB / 1.31 GB, free: 14.36 MB / 1.014 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 8.498e-05/0.3647, allocations: 121.7 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.3647, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.365, allocations: 77.28 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.365, allocations: 3.938 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.365, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.365, allocations: 4 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3651, allocations: 140.6 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3651, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.3652, allocations: 11.98 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3652, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3652, allocations: 32 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3652, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3652, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3655, allocations: 171.4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.3655, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3655, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.3656, allocations: 12.02 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3656, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3656, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.3657, allocations: 91.27 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002233/0.3659, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 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.0001521/0.3661, allocations: 107.9 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3663, allocations: 39.95 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3663, allocations: 4 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.3664, allocations: 19.98 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3667, allocations: 3.938 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.367, allocations: 117.5 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3673, allocations: 0.6808 MB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.3673, allocations: 7.938 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.3673, allocations: 7.438 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.3673, allocations: 0 / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of Templates: time 0.003101/0.3705, allocations: 0.5594 MB / 1.312 GB, free: 12.05 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.550455297343433]