Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001471/0.001471, allocations: 77.86 kB / 20.66 MB, free: 3.828 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.001536/0.001536, allocations: 169 kB / 24.06 MB, free: 444 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.134/2.134, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.646e-05, allocations: 6.312 kB / 0.8794 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001229/0.001255, allocations: 0.6104 MB / 0.88 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.001424, allocations: 27.91 kB / 0.8801 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.001438, allocations: 0 / 0.8801 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.001453, allocations: 0.6562 kB / 0.8801 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.001459, allocations: 0 / 0.8801 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.001715, allocations: 13.45 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.001755, allocations: 0 / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.001793, allocations: 0 / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.001822, allocations: 12.62 kB / 0.8801 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.701e-05/0.001839, allocations: 3.875 kB / 0.8801 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.001852, allocations: 0 / 0.8801 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.00192, allocations: 19.92 kB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.001929, allocations: 0.9844 kB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-06/0.001938, allocations: 0 / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.415e-05/0.002012, allocations: 11.97 kB / 0.8801 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002014, allocations: 0 / 0.8801 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002014, allocations: 4 kB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002018, allocations: 0 / 0.8801 GB, free: 5.277 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002328/0.002251, allocations: 341.2 kB / 0.8805 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.002281, allocations: 8.969 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.002304, allocations: 0.9375 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.561e-05/0.002359, allocations: 112.6 kB / 0.8806 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.002369, allocations: 1.406 kB / 0.8806 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-06/0.002374, allocations: 384 / 0.8806 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.002432, allocations: 27.39 kB / 0.8806 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.002438, allocations: 4.953 kB / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.002443, allocations: 384 / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.002447, allocations: 1.406 kB / 0.8806 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.14e-05/0.002459, allocations: 7.875 kB / 0.8806 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.514e-05/0.002534, allocations: 93.27 kB / 0.8807 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/0.002567, allocations: 28.11 kB / 0.8807 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.002579, allocations: 11.69 kB / 0.8807 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.002602, allocations: 8.328 kB / 0.8808 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.002621, allocations: 33.39 kB / 0.8808 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002622, allocations: 0 / 0.8808 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.163e-05/0.002713, allocations: 37.64 kB / 0.8808 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.00274, allocations: 51.41 kB / 0.8809 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.558e-05/0.002775, allocations: 142.2 kB / 0.881 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.002783, allocations: 25.7 kB / 0.881 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.00281, allocations: 127.5 kB / 0.8811 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.002837, allocations: 9.125 kB / 0.8812 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.002862, allocations: 23.36 kB / 0.8812 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.002978, allocations: 496.1 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.002986, allocations: 0.5938 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.002993, allocations: 5.281 kB / 0.8817 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.003018, allocations: 12.67 kB / 0.8817 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003019, allocations: 1.375 kB / 0.8817 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.127e-05/0.00306, allocations: 37.64 kB / 0.8817 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.003072, allocations: 7.984 kB / 0.8817 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.003076, allocations: 0.5938 kB / 0.8817 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.003084, allocations: 3.984 kB / 0.8817 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.003127, allocations: 5.125 kB / 0.8817 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003129, allocations: 0 / 0.8817 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-06/0.003138, allocations: 0 / 0.8817 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.003147, allocations: 0.7656 kB / 0.8817 GB, free: 3.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 (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.596e-05/0.003203, allocations: 164.5 kB / 0.8819 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-06/0.003207, allocations: 0 / 0.8819 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.003528, allocations: 44.62 kB / 0.8819 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.00353, allocations: 4 kB / 0.8819 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.003533, allocations: 4.547 kB / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.003535, allocations: 0 / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.177e-05/0.003587, allocations: 93.2 kB / 0.882 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003588, allocations: 4.031 kB / 0.882 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.003601, allocations: 4 kB / 0.882 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.003602, allocations: 0.6562 kB / 0.882 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.003606, allocations: 3.984 kB / 0.882 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003606, allocations: 0 / 0.882 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.003607, allocations: 0 / 0.882 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.114e-05/0.003659, allocations: 68.39 kB / 0.8821 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.003662, allocations: 0 / 0.8821 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-06/0.003668, allocations: 0.875 kB / 0.8821 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-06/0.003674, allocations: 4 kB / 0.8821 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.003684, allocations: 11.95 kB / 0.8821 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.003686, allocations: 0 / 0.8821 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.003712, allocations: 119.2 kB / 0.8822 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003712, allocations: 0 / 0.8822 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001315/0.003843, allocations: 4 kB / 0.8822 GB, free: 2.883 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 (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.0001004/0.003944, allocations: 104 kB / 0.8823 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.455e-05/0.003998, allocations: 11.69 kB / 0.8823 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.004, allocations: 0 / 0.8823 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/0.004009, allocations: 19.73 kB / 0.8824 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.003e-05/0.004099, allocations: 4.453 kB / 0.8824 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001354/0.004234, allocations: 88.69 kB / 0.8825 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.537e-05/0.004259, allocations: 55.3 kB / 0.8825 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.00428, allocations: 3.938 kB / 0.8825 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.004313, allocations: 70.2 kB / 0.8826 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.004314, allocations: 4.062 kB / 0.8826 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of Templates: time 0.001641/0.005955, allocations: 321.2 kB / 0.8829 GB, free: 2.148 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.318953088019043]