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.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.0008078/0.0008078, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001846, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007006/0.0007006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009127/0.001613, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.002/1.002, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08795/1.09, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.445/2.445, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2382/2.683, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.807e-06/1.011e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001628/0.001638, allocations: 1.554 MB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.001763, allocations: 87.69 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.001783, allocations: 0 / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.001817, allocations: 0 / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.001838, allocations: 7.938 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.001945, allocations: 11.98 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.001997, allocations: 31.91 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.002051, allocations: 0 / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.002095, allocations: 23.92 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.729e-05/0.002122, allocations: 7.984 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.002133, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.002204, allocations: 23.97 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.002229, allocations: 7.938 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.002241, allocations: 4 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.947e-05/0.002321, allocations: 23.92 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.002332, allocations: 4 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.3e-07/0.002332, allocations: 0 / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.002344, allocations: 0 / 0.82 GB, free: 1.078 MB / 0.7917 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.0002833/0.002627, allocations: 256.5 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.562e-05/0.002653, allocations: 8.625 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.002674, allocations: 4.938 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.002739, allocations: 109.7 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.002747, allocations: 4.375 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.002753, allocations: 384 / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.00284, allocations: 61.77 kB / 0.8205 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.002845, allocations: 4.188 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-06/0.002849, allocations: 384 / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.002853, allocations: 384 / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.002873, allocations: 7.938 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.003037, allocations: 149.9 kB / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.003081, allocations: 69.3 kB / 0.8207 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.003095, allocations: 12.92 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.003129, allocations: 0 / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.003146, allocations: 34.56 kB / 0.8207 GB, free: 276 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003147, allocations: 0 / 0.8207 GB, free: 276 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 8.262e-05/0.003229, allocations: 45.67 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.003253, allocations: 55.34 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.0033, allocations: 106.7 kB / 0.8209 GB, free: 36 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.003307, allocations: 25.7 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.003343, allocations: 88.08 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.003361, allocations: 7.938 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.003381, allocations: 13.72 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.003457, allocations: 314.8 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.003466, allocations: 6.828 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.003472, allocations: 4.125 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.003491, allocations: 15.67 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.003494, allocations: 4 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.222e-05/0.003526, allocations: 37.62 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.003536, allocations: 8 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.00354, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.003545, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.003597, allocations: 7.938 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.0036, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.003615, allocations: 15.97 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-06/0.003618, allocations: 4 kB / 0.8215 GB, free: 15.46 MB / 0.8073 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 3.831e-05/0.003656, allocations: 108.7 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.003668, allocations: 8 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.003721, allocations: 41.25 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.003723, allocations: 4 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.003725, allocations: 4.188 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003727, allocations: 0 / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.79e-05/0.003795, allocations: 73.89 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003796, allocations: 0 / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.003813, allocations: 8.031 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.003817, allocations: 4 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.003819, allocations: 3.984 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.003822, allocations: 0 / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003823, allocations: 0 / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.003824, allocations: 3.938 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.399e-05/0.003888, allocations: 182.3 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.003895, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.64e-05/0.003921, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.003942, allocations: 4 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.003944, allocations: 8.016 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.003955, allocations: 24.7 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003955, allocations: 0 / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001104/0.004066, allocations: 4 kB / 0.8219 GB, free: 14.93 MB / 0.8073 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 7.303e-05/0.004139, allocations: 76.42 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.404e-05/0.004183, allocations: 16.86 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.004186, allocations: 0 / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.004199, allocations: 12.84 kB / 0.822 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.00432, allocations: 8.125 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.004609, allocations: 122.2 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.004637, allocations: 59.2 kB / 0.8222 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.004651, allocations: 4 kB / 0.8222 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.004681, allocations: 47.38 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.004682, allocations: 4 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.001773/0.006455, allocations: 0.5664 MB / 0.8228 GB, free: 13.97 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.197023971006274]