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.001105/0.001105, 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.001526/0.001526, 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.9481/0.9481, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.669/1.669, 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.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 5.892e-06/5.892e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.715e-05, allocations: 13.5 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00253/0.002557, allocations: 1.495 MB / 0.7886 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.002875, allocations: 96.28 kB / 0.7886 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.002907, allocations: 1.438 kB / 0.7886 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.289e-05/0.002979, allocations: 4 kB / 0.7887 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.003022, allocations: 7.875 kB / 0.7887 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.003341, allocations: 16.53 kB / 0.7887 GB, free: 9.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.003424, allocations: 27.92 kB / 0.7887 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.003515, allocations: 5.391 kB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.003561, allocations: 15.98 kB / 0.7887 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.003604, allocations: 7.938 kB / 0.7887 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003621, allocations: 5.062 kB / 0.7887 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.003725, allocations: 19.91 kB / 0.7888 GB, free: 9.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.003771, allocations: 8 kB / 0.7888 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.003796, allocations: 9.484 kB / 0.7888 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003949, allocations: 35.89 kB / 0.7888 GB, free: 9.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003952, allocations: 0 / 0.7888 GB, free: 9.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003952, allocations: 0 / 0.7888 GB, free: 9.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.003958, allocations: 0.5938 kB / 0.7888 GB, free: 9.621 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.000414/0.004372, allocations: 373.3 kB / 0.7892 GB, free: 9.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.00441, allocations: 12.03 kB / 0.7892 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.00445, allocations: 0.9375 kB / 0.7892 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/0.004543, allocations: 112.6 kB / 0.7893 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004554, allocations: 1.688 kB / 0.7893 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.004566, allocations: 4.375 kB / 0.7893 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004704, allocations: 58.89 kB / 0.7893 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004713, allocations: 1.156 kB / 0.7893 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004722, allocations: 384 / 0.7893 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.00473, allocations: 1.125 kB / 0.7893 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.004766, allocations: 11.92 kB / 0.7894 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.005073, allocations: 246.3 kB / 0.7896 GB, free: 8.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.005137, allocations: 31.09 kB / 0.7896 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.005162, allocations: 11.75 kB / 0.7896 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.005204, allocations: 7.938 kB / 0.7896 GB, free: 8.648 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.005228, allocations: 37.39 kB / 0.7897 GB, free: 8.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.00523, allocations: 0 / 0.7897 GB, free: 8.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.005391, allocations: 43.38 kB / 0.7897 GB, free: 8.555 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.005423, allocations: 51.41 kB / 0.7898 GB, free: 8.492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.005511, allocations: 169.9 kB / 0.7899 GB, free: 8.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.005523, allocations: 25.7 kB / 0.79 GB, free: 8.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.005576, allocations: 135.4 kB / 0.7901 GB, free: 8.141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.005594, allocations: 8.672 kB / 0.7901 GB, free: 8.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.005626, allocations: 23.31 kB / 0.7901 GB, free: 8.102 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.005753, allocations: 496.7 kB / 0.7906 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.005769, allocations: 3.938 kB / 0.7906 GB, free: 7.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.005781, allocations: 5.656 kB / 0.7906 GB, free: 7.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.005958, allocations: 19.67 kB / 0.7906 GB, free: 7.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.00596, allocations: 0 / 0.7906 GB, free: 7.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.283e-05/0.006033, allocations: 38.16 kB / 0.7907 GB, free: 7.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.006045, allocations: 4.594 kB / 0.7907 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.006051, allocations: 4.719 kB / 0.7907 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006065, allocations: 4 kB / 0.7907 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.006137, allocations: 5.156 kB / 0.7907 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.006143, allocations: 3.984 kB / 0.7907 GB, free: 7.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.006165, allocations: 0 / 0.7907 GB, free: 7.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.00617, allocations: 9.312 kB / 0.7907 GB, free: 7.504 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.947e-05/0.00624, allocations: 156.6 kB / 0.7908 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.006264, allocations: 4 kB / 0.7908 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.984e-05/0.006364, allocations: 47 kB / 0.7909 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.006366, allocations: 4 kB / 0.7909 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006369, allocations: 0 / 0.7909 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006372, allocations: 0 / 0.7909 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.006502, allocations: 113.9 kB / 0.791 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006503, allocations: 0 / 0.791 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.006542, allocations: 8 kB / 0.791 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.006546, allocations: 5.281 kB / 0.791 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006554, allocations: 3.984 kB / 0.791 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.006557, allocations: 3.938 kB / 0.791 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006558, allocations: 0 / 0.791 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.006678, allocations: 185.7 kB / 0.7912 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.006686, allocations: 7.891 kB / 0.7912 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.006705, allocations: 7.984 kB / 0.7912 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.006758, allocations: 8.188 kB / 0.7912 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.006794, allocations: 2.562 kB / 0.7912 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.006799, allocations: 4 kB / 0.7912 GB, free: 6.895 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.006847, allocations: 127.2 kB / 0.7913 GB, free: 6.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.006847, allocations: 0 / 0.7913 GB, free: 6.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002543/0.007102, allocations: 8 kB / 0.7913 GB, free: 6.762 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.0001221/0.007224, allocations: 111.7 kB / 0.7915 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.007313, allocations: 16.16 kB / 0.7915 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007314, allocations: 1.938 kB / 0.7915 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.007337, allocations: 15.67 kB / 0.7915 GB, free: 6.602 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.007582, allocations: 4 kB / 0.7915 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.00786, allocations: 121 kB / 0.7916 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.007901, allocations: 55.36 kB / 0.7917 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.007921, allocations: 3.984 kB / 0.7917 GB, free: 6.375 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.007945, allocations: 8.5 kB / 0.7917 GB, free: 6.367 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.007946, allocations: 0 / 0.7917 GB, free: 6.367 MB / 0.698 GB Notification: Performance of Templates: time 0.002294/0.01024, allocations: 0.636 MB / 0.7923 GB, free: 5.762 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.55178845115006]