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.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009997/0.0009997, allocations: 169 kB / 23.02 MB, free: 1.555 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.962/0.962, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.088/2.088, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.743e-05, allocations: 8.844 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001704/0.001721, allocations: 1.505 MB / 0.8796 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.001972, allocations: 85.45 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.002, allocations: 0 / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.256e-05/0.002062, allocations: 5.188 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.002099, allocations: 2.078 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.002345, allocations: 11.98 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.002412, allocations: 30.16 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.002492, allocations: 3.984 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.002527, allocations: 19.92 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.002557, allocations: 5.109 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.002574, allocations: 4 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.00264, allocations: 19.97 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.002679, allocations: 9.062 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002696, allocations: 0 / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002802, allocations: 35.78 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002804, allocations: 5.094 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002804, allocations: 0 / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002808, allocations: 0 / 0.8799 GB, free: 4.582 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.0003142/0.003122, allocations: 365.4 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003154, allocations: 9.656 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.003186, allocations: 8.891 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.395e-05/0.003259, allocations: 112.6 kB / 0.8803 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003269, allocations: 384 / 0.8803 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.003281, allocations: 4.375 kB / 0.8803 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.003389, allocations: 56.06 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.003398, allocations: 192 / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003405, allocations: 1.469 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.003414, allocations: 384 / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.003444, allocations: 11.88 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.003703, allocations: 256.5 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.00375, allocations: 31.56 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.003768, allocations: 7.688 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.003807, allocations: 4.906 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.003825, allocations: 33.39 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003825, allocations: 1.594 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.003965, allocations: 53.52 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.003992, allocations: 55.41 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.004063, allocations: 169 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004072, allocations: 33.64 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.004117, allocations: 126.9 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.004134, allocations: 11.89 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.004159, allocations: 19.38 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.00426, allocations: 492.1 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.004276, allocations: 7.984 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.004285, allocations: 0 / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.004312, allocations: 21.09 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004314, allocations: 0 / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.045e-05/0.004364, allocations: 37.7 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.004375, allocations: 4.594 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.00438, allocations: 5.594 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.004395, allocations: 0 / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.004459, allocations: 7.984 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.004464, allocations: 0 / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.004482, allocations: 8.969 kB / 0.8817 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.004486, allocations: 0 / 0.8817 GB, free: 2.469 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.605e-05/0.004542, allocations: 157.1 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.004556, allocations: 3.953 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.004638, allocations: 57.41 kB / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00464, allocations: 0 / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004643, allocations: 0 / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.004647, allocations: 3.984 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.768e-05/0.004735, allocations: 116.6 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004736, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.004756, allocations: 7.984 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004757, allocations: 0 / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.004763, allocations: 0 / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.004765, allocations: 3.938 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.004767, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.004844, allocations: 195.9 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.004849, allocations: 3.953 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.004858, allocations: 4 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.004887, allocations: 3.938 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.004918, allocations: 4 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.004921, allocations: 4.234 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.004955, allocations: 135.1 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004955, allocations: 0 / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001397/0.005094, allocations: 4 kB / 0.8824 GB, free: 1.711 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 9.225e-05/0.005186, allocations: 99.28 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.00526, allocations: 19.67 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.005261, allocations: 0 / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.005278, allocations: 15.62 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.005444, allocations: 8 kB / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.005658, allocations: 122.2 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.005689, allocations: 55.34 kB / 0.8827 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.266e-05/0.005702, allocations: 4.125 kB / 0.8827 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.005721, allocations: 12.5 kB / 0.8827 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.005721, allocations: 0 / 0.8827 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of Templates: time 0.002118/0.007839, allocations: 0.5632 MB / 0.8833 GB, free: 0.7539 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.370702998246998]