Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009484/0.0009484, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000954/0.000954, allocations: 161 kB / 23.82 MB, free: 0.75 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.9227/0.9227, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.861/1.861, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.562e-05, allocations: 5.859 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001177/0.001202, allocations: 0.5915 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.001406, allocations: 37.02 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.001419, allocations: 4 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.001438, allocations: 0 / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.001444, allocations: 0 / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.001749, allocations: 8.828 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.001795, allocations: 13.39 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.00183, allocations: 0 / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.001855, allocations: 0 / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.001879, allocations: 3.984 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.001891, allocations: 1.062 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.001976, allocations: 19.97 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.001984, allocations: 0 / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.002, allocations: 5.562 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.798e-05/0.002088, allocations: 11.92 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.00209, allocations: 0 / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.002091, allocations: 3.938 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002095, allocations: 5.562 kB / 0.7878 GB, free: 11.73 MB / 0.7448 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.0002628/0.002358, allocations: 344.4 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.002393, allocations: 8.031 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.002424, allocations: 0.9375 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.002478, allocations: 109.7 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.002488, allocations: 384 / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.002498, allocations: 384 / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.002576, allocations: 34.75 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.002587, allocations: 4.703 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.002595, allocations: 384 / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.002602, allocations: 1.562 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.002618, allocations: 7.875 kB / 0.7883 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.002725, allocations: 116.6 kB / 0.7884 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.604e-05/0.002761, allocations: 25.22 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.002776, allocations: 7.688 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.002809, allocations: 4.094 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.002829, allocations: 33.39 kB / 0.7885 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.00283, allocations: 0 / 0.7885 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.002944, allocations: 47.69 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.002968, allocations: 51.41 kB / 0.7886 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/0.003004, allocations: 142.2 kB / 0.7887 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.003012, allocations: 25.7 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.003039, allocations: 126.9 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.003064, allocations: 0.7188 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.003086, allocations: 19.91 kB / 0.7889 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003187, allocations: 496.1 kB / 0.7894 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.003198, allocations: 5.641 kB / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.003203, allocations: 4 kB / 0.7894 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.00323, allocations: 11.69 kB / 0.7894 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.003231, allocations: 4.656 kB / 0.7894 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.917e-05/0.003271, allocations: 34.7 kB / 0.7894 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.003282, allocations: 4 kB / 0.7894 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.003287, allocations: 0 / 0.7894 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.003303, allocations: 5.156 kB / 0.7894 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.003358, allocations: 3.938 kB / 0.7894 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.003364, allocations: 3.984 kB / 0.7894 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-06/0.003373, allocations: 5.312 kB / 0.7895 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.003384, allocations: 4 kB / 0.7895 GB, free: 9.887 MB / 0.7448 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.244e-05/0.003437, allocations: 152.6 kB / 0.7896 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-06/0.00344, allocations: 2.094 kB / 0.7896 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.003521, allocations: 48.62 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003522, allocations: 0.9688 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.003526, allocations: 0 / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.003527, allocations: 1.469 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.171e-05/0.003589, allocations: 112.5 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00359, allocations: 0 / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.003601, allocations: 4 kB / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.003602, allocations: 1.281 kB / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.003607, allocations: 0 / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.003608, allocations: 0 / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.003609, allocations: 0 / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.416e-05/0.003664, allocations: 79.44 kB / 0.7898 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.003668, allocations: 4 kB / 0.7898 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-06/0.003675, allocations: 0 / 0.7898 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-06/0.003681, allocations: 4 kB / 0.7898 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.003695, allocations: 0 / 0.7898 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.003699, allocations: 3.984 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.003728, allocations: 127.1 kB / 0.79 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003728, allocations: 0 / 0.79 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001258/0.003854, allocations: 4.5 kB / 0.79 GB, free: 9.285 MB / 0.7448 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 0.0001155/0.00397, allocations: 109 kB / 0.7901 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.734e-05/0.004037, allocations: 11.69 kB / 0.7901 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.004038, allocations: 0 / 0.7901 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.004045, allocations: 14.25 kB / 0.7901 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.675e-05/0.004142, allocations: 5.891 kB / 0.7901 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.004333, allocations: 91.31 kB / 0.7902 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.004364, allocations: 51.36 kB / 0.7902 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.004387, allocations: 5.688 kB / 0.7903 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.004408, allocations: 8.5 kB / 0.7903 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.004408, allocations: 5.219 kB / 0.7903 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.001857/0.006266, allocations: 326.7 kB / 0.7906 GB, free: 8.625 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.0307533368468285]