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.001107/0.001107, allocations: 88.2 kB / 20.19 MB, free: 4.359 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.001114/0.001114, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.072/2.072, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.204e-06/2.204e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.159e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002977/0.003009, allocations: 1.499 MB / 0.8796 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.003292, allocations: 88.88 kB / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.003325, allocations: 0 / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.003387, allocations: 0 / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.003429, allocations: 11.11 kB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.0037, allocations: 11.98 kB / 0.8797 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.003768, allocations: 24.52 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.00386, allocations: 15.97 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.003897, allocations: 8.5 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.003927, allocations: 8.828 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.003943, allocations: 0 / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.004014, allocations: 25.22 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.004054, allocations: 3.938 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.004075, allocations: 11.98 kB / 0.8798 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.004196, allocations: 31.84 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.004199, allocations: 1.031 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004201, allocations: 0 / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.004207, allocations: 1.125 kB / 0.8799 GB, free: 4.945 MB / 0.8386 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.0003834/0.00459, allocations: 360.6 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.004628, allocations: 12.03 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.004674, allocations: 5.953 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.004761, allocations: 112.6 kB / 0.8803 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.004771, allocations: 384 / 0.8803 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.004782, allocations: 5.469 kB / 0.8803 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.00491, allocations: 58.88 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004916, allocations: 4.969 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004926, allocations: 384 / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.004933, allocations: 384 / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.004965, allocations: 14.94 kB / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.005246, allocations: 251.8 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.0053, allocations: 27.06 kB / 0.8807 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.005322, allocations: 15.75 kB / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.005358, allocations: 0 / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.005378, allocations: 37.39 kB / 0.8807 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005379, allocations: 0 / 0.8807 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.005514, allocations: 50.98 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.005541, allocations: 55.41 kB / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.005614, allocations: 165.9 kB / 0.881 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005625, allocations: 26.3 kB / 0.881 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.005669, allocations: 126.9 kB / 0.8811 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.005687, allocations: 13.55 kB / 0.8812 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.005712, allocations: 19.38 kB / 0.8812 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.005821, allocations: 0.4884 MB / 0.8817 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.005833, allocations: 0 / 0.8817 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.005844, allocations: 4.969 kB / 0.8817 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.005871, allocations: 20.19 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005872, allocations: 0 / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.644e-05/0.005919, allocations: 35.55 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005931, allocations: 4 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005935, allocations: 3.938 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005949, allocations: 11.98 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.006008, allocations: 8.219 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006013, allocations: 0 / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.006028, allocations: 0 / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006033, allocations: 4 kB / 0.8817 GB, free: 2.832 MB / 0.8386 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.976e-05/0.006093, allocations: 156.6 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.006108, allocations: 11.94 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.006189, allocations: 49.19 kB / 0.882 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006191, allocations: 4 kB / 0.882 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.006196, allocations: 0 / 0.882 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006199, allocations: 3.938 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.006289, allocations: 116.7 kB / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00629, allocations: 0 / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.006308, allocations: 7.984 kB / 0.8821 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.006309, allocations: 0 / 0.8821 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.006315, allocations: 4 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006316, allocations: 3.938 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006318, allocations: 0 / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.101e-05/0.006399, allocations: 187.9 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.006405, allocations: 7.953 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-06/0.006414, allocations: 0 / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.006443, allocations: 11.97 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.006477, allocations: 3.984 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006479, allocations: 0 / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.006517, allocations: 123.2 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006517, allocations: 0 / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001402/0.006658, allocations: 12 kB / 0.8824 GB, free: 2.074 MB / 0.8386 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.0001172/0.006775, allocations: 95.25 kB / 0.8825 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.006843, allocations: 15.67 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006844, allocations: 4.062 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.006861, allocations: 15.62 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.007039, allocations: 12.17 kB / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.007271, allocations: 118.2 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.007305, allocations: 59.34 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.007321, allocations: 4 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.007341, allocations: 12.5 kB / 0.8827 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/0.007342, allocations: 64 / 0.8827 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of Templates: time 0.0021/0.009442, allocations: 0.562 MB / 0.8833 GB, free: 1.117 MB / 0.8386 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.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.419520138995722]