Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007871/0.0007871, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009399/0.0009399, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.725e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002144/0.002172, allocations: 1.455 MB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.002478, allocations: 95.61 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.002512, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.002587, allocations: 7.922 kB / 0.9837 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.002628, allocations: 0 / 0.9837 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.002948, allocations: 27.86 kB / 0.9837 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.003021, allocations: 23.92 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.003117, allocations: 7.984 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.003156, allocations: 15.92 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.003197, allocations: 11.98 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.003212, allocations: 0 / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.003302, allocations: 19.98 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.003343, allocations: 3.984 kB / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003364, allocations: 11.94 kB / 0.9838 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003488, allocations: 35.94 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00349, allocations: 3.938 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003491, allocations: 4 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.003496, allocations: 0 / 0.9839 GB, free: 324 kB / 0.9323 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.0003731/0.003869, allocations: 270.2 kB / 0.9841 GB, free: 20 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.003911, allocations: 8.031 kB / 0.9841 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.003942, allocations: 8.875 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004045, allocations: 117.7 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.004058, allocations: 4.375 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.004067, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.004217, allocations: 50.23 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.004224, allocations: 4.188 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004232, allocations: 384 / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004236, allocations: 384 / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.004331, allocations: 39.91 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.00463, allocations: 204.5 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/0.004723, allocations: 38.61 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.004773, allocations: 28.84 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.004812, allocations: 4 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.004831, allocations: 34.5 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004832, allocations: 0 / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002333/0.005065, allocations: 93.52 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.005096, allocations: 55.39 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.005163, allocations: 101.9 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005174, allocations: 29.7 kB / 0.9849 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.005216, allocations: 96.25 kB / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.005238, allocations: 3.953 kB / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.005263, allocations: 13.72 kB / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.005347, allocations: 314.8 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.00539, allocations: 15.98 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.005431, allocations: 23.97 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.005521, allocations: 40.89 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005524, allocations: 0 / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001165/0.00564, allocations: 69.59 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005653, allocations: 8 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.00566, allocations: 3.938 kB / 0.9855 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005674, allocations: 0 / 0.9855 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.005738, allocations: 11.98 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.005744, allocations: 0 / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.00577, allocations: 15.97 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.005776, allocations: 4 kB / 0.9855 GB, free: 14.46 MB / 0.948 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 5.992e-05/0.005835, allocations: 105.8 kB / 0.9856 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.005847, allocations: 4.25 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.005999, allocations: 85.16 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006002, allocations: 3.984 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.006007, allocations: 0 / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006011, allocations: 7.938 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.006104, allocations: 105.4 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006105, allocations: 0 / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.006131, allocations: 11.98 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006133, allocations: 0 / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006139, allocations: 0 / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006142, allocations: 3.938 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006142, allocations: 0 / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.006277, allocations: 159.5 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.006287, allocations: 23.91 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.006297, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.006333, allocations: 7.938 kB / 0.986 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.006376, allocations: 3.984 kB / 0.986 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.006378, allocations: 0 / 0.986 GB, free: 13.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.006418, allocations: 87.28 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001715/0.00659, allocations: 11.94 kB / 0.9861 GB, free: 13.79 MB / 0.948 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.0001364/0.006726, allocations: 103.2 kB / 0.9862 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.006848, allocations: 39.97 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006849, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.00689, allocations: 23.97 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.007113, allocations: 4 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.007382, allocations: 138.6 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.007432, allocations: 63.28 kB / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.007454, allocations: 20.62 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.007455, allocations: 0 / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of Templates: time 0.001714/0.009169, allocations: 0.6862 MB / 0.9872 GB, free: 12.66 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.91493605915457]