Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001408/0.001408, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001551/0.001551, allocations: 173 kB / 23.02 MB, free: 1.551 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.916/0.916, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.009/2.009, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.49e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00188/0.001905, allocations: 1.503 MB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.002164, allocations: 88.62 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.00219, allocations: 0 / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.421e-05/0.002254, allocations: 0 / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.002293, allocations: 7.234 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.002553, allocations: 15.97 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.002618, allocations: 31.03 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.002696, allocations: 3.984 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.002729, allocations: 8 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.085e-05/0.002759, allocations: 17.05 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.002775, allocations: 4 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.002844, allocations: 15.97 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.002882, allocations: 9.094 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.0029, allocations: 3.984 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003009, allocations: 35.83 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003011, allocations: 1.062 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003012, allocations: 4 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003016, allocations: 0 / 0.8799 GB, free: 4.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003294/0.003345, allocations: 361.4 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.003383, allocations: 9.656 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.00342, allocations: 12.83 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.003493, allocations: 112.6 kB / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003504, allocations: 384 / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.003512, allocations: 384 / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.003628, allocations: 56.03 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.003634, allocations: 192 / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.003642, allocations: 1.469 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.003648, allocations: 4.359 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.003678, allocations: 11.94 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.00395, allocations: 252.4 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.004002, allocations: 31.59 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.004022, allocations: 7.688 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.004059, allocations: 4.938 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.004078, allocations: 33.39 kB / 0.8807 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.004079, allocations: 1.594 kB / 0.8807 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.004214, allocations: 53.52 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.004247, allocations: 55.41 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.004316, allocations: 169 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.004326, allocations: 29.7 kB / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.004369, allocations: 130.9 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.004386, allocations: 7.891 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.004411, allocations: 19.38 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003358/0.004747, allocations: 0.4884 MB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.004763, allocations: 7.938 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.004772, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.004798, allocations: 13.12 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.0048, allocations: 0 / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.443e-05/0.004855, allocations: 41.64 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.004868, allocations: 12.55 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.004874, allocations: 5.562 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004886, allocations: 0 / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.004956, allocations: 4 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.00496, allocations: 0 / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.004977, allocations: 5 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004982, allocations: 0 / 0.8817 GB, free: 2.48 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 (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.191e-05/0.005044, allocations: 161.1 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.005058, allocations: 3.953 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.005145, allocations: 57.41 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005147, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.005151, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005153, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.005253, allocations: 120.6 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005255, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.005282, allocations: 4 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005284, allocations: 0 / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.005291, allocations: 0 / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005293, allocations: 3.938 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005294, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.705e-05/0.005381, allocations: 192 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.005387, allocations: 3.953 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.005397, allocations: 4 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.005428, allocations: 4.188 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.005466, allocations: 7.922 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.00547, allocations: 8 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.005507, allocations: 127.2 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005507, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001416/0.005649, allocations: 4 kB / 0.8824 GB, free: 1.727 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 (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.0001187/0.005767, allocations: 103.3 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.47e-05/0.005842, allocations: 19.62 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.005844, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.00586, allocations: 15.69 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.006041, allocations: 6.5 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.006296, allocations: 122.2 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.00633, allocations: 59.34 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.453e-05/0.006345, allocations: 4.125 kB / 0.8827 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.006364, allocations: 12.5 kB / 0.8827 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.006365, allocations: 0 / 0.8827 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.002334/0.008699, allocations: 0.5897 MB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.087802910245955]