Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001469/0.001469, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001576/0.001576, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9157/0.9157, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.794/1.794, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.01e-05, allocations: 4.109 kB / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002088/0.002118, allocations: 1.489 MB / 0.7885 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.002425, allocations: 100.3 kB / 0.7886 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.002468, allocations: 0.9375 kB / 0.7886 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.806e-05/0.002536, allocations: 0 / 0.7886 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.002577, allocations: 13.12 kB / 0.7887 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.002879, allocations: 11.98 kB / 0.7887 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.002955, allocations: 27.92 kB / 0.7887 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.003044, allocations: 1.562 kB / 0.7887 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.003088, allocations: 15.97 kB / 0.7887 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.003124, allocations: 11.98 kB / 0.7887 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.003149, allocations: 4 kB / 0.7887 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.791e-05/0.003237, allocations: 28.88 kB / 0.7888 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.003272, allocations: 0 / 0.7888 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.003291, allocations: 8 kB / 0.7888 GB, free: 10 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.003408, allocations: 40.5 kB / 0.7888 GB, free: 9.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00341, allocations: 1.406 kB / 0.7888 GB, free: 9.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003412, allocations: 0 / 0.7888 GB, free: 9.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003417, allocations: 0 / 0.7888 GB, free: 9.965 MB / 0.698 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.0003511/0.003768, allocations: 368.1 kB / 0.7891 GB, free: 9.566 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.003805, allocations: 13.16 kB / 0.7892 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.00384, allocations: 0.9375 kB / 0.7892 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.869e-05/0.003929, allocations: 112.6 kB / 0.7893 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.003941, allocations: 5.438 kB / 0.7893 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.00395, allocations: 4.359 kB / 0.7893 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.00407, allocations: 56.16 kB / 0.7893 GB, free: 9.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004077, allocations: 192 / 0.7893 GB, free: 9.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004091, allocations: 4.312 kB / 0.7893 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.004099, allocations: 4.375 kB / 0.7893 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.00413, allocations: 5.344 kB / 0.7893 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.004409, allocations: 251.8 kB / 0.7896 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.00446, allocations: 31.06 kB / 0.7896 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.00448, allocations: 10.53 kB / 0.7896 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.004521, allocations: 4.062 kB / 0.7896 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.004543, allocations: 37.33 kB / 0.7897 GB, free: 8.949 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.004544, allocations: 0 / 0.7897 GB, free: 8.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.004692, allocations: 49.62 kB / 0.7897 GB, free: 8.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.00472, allocations: 51.41 kB / 0.7898 GB, free: 8.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.004868, allocations: 166.6 kB / 0.7899 GB, free: 8.652 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.004876, allocations: 25.7 kB / 0.7899 GB, free: 8.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.004917, allocations: 128.5 kB / 0.7901 GB, free: 8.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.004935, allocations: 7.953 kB / 0.7901 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.00496, allocations: 19.38 kB / 0.7901 GB, free: 8.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005067, allocations: 0.4884 MB / 0.7906 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.005083, allocations: 0 / 0.7906 GB, free: 7.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.005094, allocations: 9.125 kB / 0.7906 GB, free: 7.949 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.005123, allocations: 11.69 kB / 0.7906 GB, free: 7.934 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.005125, allocations: 5.594 kB / 0.7906 GB, free: 7.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.543e-05/0.005181, allocations: 37.66 kB / 0.7906 GB, free: 7.887 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005194, allocations: 7.984 kB / 0.7906 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.0052, allocations: 9.688 kB / 0.7906 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.005213, allocations: 0 / 0.7906 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.00528, allocations: 8 kB / 0.7907 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.005284, allocations: 4 kB / 0.7907 GB, free: 7.859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.005301, allocations: 0 / 0.7907 GB, free: 7.859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005305, allocations: 0.7812 kB / 0.7907 GB, free: 7.859 MB / 0.698 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 6.577e-05/0.005371, allocations: 165 kB / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.005385, allocations: 0 / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.005471, allocations: 50.22 kB / 0.7909 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005472, allocations: 0.5312 kB / 0.7909 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.005476, allocations: 4 kB / 0.7909 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005479, allocations: 5.312 kB / 0.7909 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.005571, allocations: 116.6 kB / 0.791 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005572, allocations: 0 / 0.791 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.005599, allocations: 4.531 kB / 0.791 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.0056, allocations: 1.375 kB / 0.791 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.005606, allocations: 0 / 0.791 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.005609, allocations: 7.938 kB / 0.791 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00561, allocations: 0 / 0.791 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.87e-05/0.005699, allocations: 189 kB / 0.7912 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.005707, allocations: 11.89 kB / 0.7912 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005716, allocations: 0 / 0.7912 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.005746, allocations: 5.156 kB / 0.7912 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.005781, allocations: 7.984 kB / 0.7912 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005783, allocations: 0 / 0.7912 GB, free: 7.242 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.00582, allocations: 128.9 kB / 0.7913 GB, free: 7.117 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00582, allocations: 0 / 0.7913 GB, free: 7.117 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001592/0.00598, allocations: 8 kB / 0.7913 GB, free: 7.109 MB / 0.698 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.0001234/0.006103, allocations: 100.6 kB / 0.7914 GB, free: 7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.00618, allocations: 15.69 kB / 0.7914 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006182, allocations: 0 / 0.7914 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.006199, allocations: 16.41 kB / 0.7915 GB, free: 6.961 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.006389, allocations: 11.97 kB / 0.7915 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.006653, allocations: 122.4 kB / 0.7916 GB, free: 6.805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.006684, allocations: 51.36 kB / 0.7916 GB, free: 6.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.006701, allocations: 8.719 kB / 0.7916 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.006721, allocations: 8.5 kB / 0.7917 GB, free: 6.719 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.006722, allocations: 3.438 kB / 0.7917 GB, free: 6.719 MB / 0.698 GB Notification: Performance of Templates: time 0.002357/0.009079, allocations: 0.5839 MB / 0.7922 GB, free: 6.152 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.9885843941010535]