Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.000942/0.000942, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.000961/0.000961, allocations: 168.2 kB / 24.86 MB, free: 9.227 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.367 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.463e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001091/0.001106, allocations: 0.5992 MB / 0.8134 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00019/0.001296, allocations: 27.89 kB / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.325e-05/0.001309, allocations: 3.938 kB / 0.8135 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.001324, allocations: 4 kB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.00133, allocations: 0.9062 kB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.001602, allocations: 15.92 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.069e-05/0.001643, allocations: 4.781 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.001679, allocations: 0 / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.001703, allocations: 5.672 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.038e-05/0.001724, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.001735, allocations: 3.984 kB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.001811, allocations: 15.98 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-06/0.00182, allocations: 1.531 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-06/0.001829, allocations: 4 kB / 0.8135 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.408e-05/0.001903, allocations: 15.97 kB / 0.8135 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.001904, allocations: 0 / 0.8135 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.51e-07/0.001905, allocations: 0 / 0.8135 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.001909, allocations: 5.375 kB / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002195/0.002128, allocations: 340.4 kB / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.002157, allocations: 8.031 kB / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.00218, allocations: 2.688 kB / 0.8139 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.001e-05/0.00224, allocations: 120.5 kB / 0.814 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.002248, allocations: 384 / 0.814 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-06/0.002253, allocations: 384 / 0.814 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.913e-05/0.002312, allocations: 26.27 kB / 0.814 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002319, allocations: 4.938 kB / 0.814 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002324, allocations: 4.312 kB / 0.814 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.002329, allocations: 1.156 kB / 0.814 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.196e-05/0.002341, allocations: 8.484 kB / 0.814 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.37e-05/0.002425, allocations: 97.27 kB / 0.8141 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.291e-05/0.002458, allocations: 28.38 kB / 0.8141 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.002469, allocations: 7.688 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.002496, allocations: 4.094 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.002513, allocations: 35.95 kB / 0.8142 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.002514, allocations: 0 / 0.8142 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.479e-05/0.002599, allocations: 33.7 kB / 0.8142 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.002626, allocations: 59.33 kB / 0.8143 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.002658, allocations: 142.2 kB / 0.8144 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.002666, allocations: 25.7 kB / 0.8144 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.00269, allocations: 127.4 kB / 0.8146 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.002711, allocations: 0.7188 kB / 0.8146 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.002733, allocations: 23.38 kB / 0.8146 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.002832, allocations: 496.6 kB / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-06/0.002838, allocations: 0 / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.002843, allocations: 5.656 kB / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.002864, allocations: 7.688 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.002866, allocations: 0 / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003022/0.003168, allocations: 38.22 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.003178, allocations: 4.594 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.003182, allocations: 3.938 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.00319, allocations: 0.7812 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.003228, allocations: 4 kB / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.00323, allocations: 1.156 kB / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-06/0.003239, allocations: 352 / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.003249, allocations: 0 / 0.8151 GB, free: 14.87 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.921e-05/0.003308, allocations: 161.2 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-06/0.003312, allocations: 1.062 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.003374, allocations: 45.73 kB / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.003376, allocations: 4 kB / 0.8153 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003378, allocations: 0.8438 kB / 0.8153 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00338, allocations: 0 / 0.8153 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.089e-05/0.003431, allocations: 99.41 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.003432, allocations: 3.938 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.003441, allocations: 4 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.003443, allocations: 4 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.003447, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.003448, allocations: 3.938 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003449, allocations: 2.781 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.725e-05/0.003496, allocations: 72.38 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.003501, allocations: 3.984 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.003507, allocations: 0 / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-06/0.003512, allocations: 8 kB / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.003521, allocations: 0 / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.003523, allocations: 0 / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.003549, allocations: 120.8 kB / 0.8156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.003549, allocations: 0 / 0.8156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001187/0.003668, allocations: 4 kB / 0.8156 GB, free: 14.29 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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 8.932e-05/0.003757, allocations: 103.8 kB / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.312e-05/0.00381, allocations: 20.17 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.003811, allocations: 0.5 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.003819, allocations: 13.53 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.221e-05/0.003901, allocations: 6.172 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.004028, allocations: 87.2 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.004057, allocations: 55.34 kB / 0.8159 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.004075, allocations: 2.438 kB / 0.8159 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.004105, allocations: 70.2 kB / 0.816 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.004105, allocations: 0.6562 kB / 0.816 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.001669/0.005774, allocations: 358.3 kB / 0.8163 GB, free: 13.54 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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: 4.990256059914827]