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.001019/0.001019, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001155/0.001155, allocations: 173 kB / 24.06 MB, free: 452 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.9862/0.9862, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.011/2.011, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.012e-06/1.012e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.122e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001783/0.001794, allocations: 1.5 MB / 0.8809 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002023/0.001996, allocations: 88.5 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.002021, allocations: 4 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.002065, allocations: 0 / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.24e-05/0.002097, allocations: 6.953 kB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.002291, allocations: 13.55 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.002342, allocations: 24.58 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.414e-05/0.002406, allocations: 7.984 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.002435, allocations: 12.86 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.002461, allocations: 13.7 kB / 0.881 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.002475, allocations: 4 kB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.002531, allocations: 21.06 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.002557, allocations: 0 / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.002568, allocations: 8 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.002644, allocations: 32.41 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002646, allocations: 0 / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002646, allocations: 0.6562 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.002649, allocations: 3.938 kB / 0.8811 GB, free: 4.301 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.0002607/0.00291, allocations: 373.6 kB / 0.8814 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.002936, allocations: 8.031 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.00296, allocations: 10.02 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.003027, allocations: 104.6 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003035, allocations: 4.375 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-06/0.00304, allocations: 1.406 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.00312, allocations: 50.95 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003126, allocations: 1.25 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-06/0.003131, allocations: 384 / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003136, allocations: 384 / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.003155, allocations: 13.02 kB / 0.8816 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.003331, allocations: 236.4 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.003369, allocations: 27.06 kB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.003382, allocations: 12.81 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.003407, allocations: 8.047 kB / 0.8819 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.003424, allocations: 36.67 kB / 0.8819 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003425, allocations: 0 / 0.8819 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 9.615e-05/0.003521, allocations: 53.53 kB / 0.882 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.003543, allocations: 51.41 kB / 0.882 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.003598, allocations: 161.9 kB / 0.8822 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.003607, allocations: 29.7 kB / 0.8822 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.00364, allocations: 126.9 kB / 0.8823 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.003653, allocations: 11.94 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.003675, allocations: 20.62 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.00377, allocations: 496.1 kB / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.003778, allocations: 4 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.003785, allocations: 1.562 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.812e-05/0.003803, allocations: 11.69 kB / 0.8829 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.003804, allocations: 0 / 0.8829 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.634e-05/0.003851, allocations: 50.66 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.00386, allocations: 8 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.003863, allocations: 0 / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.00387, allocations: 5.469 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.003911, allocations: 4.25 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.003913, allocations: 0 / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.003929, allocations: 11.98 kB / 0.8829 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.003932, allocations: 4.219 kB / 0.8829 GB, free: 2.215 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 4.702e-05/0.003979, allocations: 152.6 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.003998, allocations: 7.953 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.004055, allocations: 49.25 kB / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.004057, allocations: 3.938 kB / 0.8831 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.004058, allocations: 0 / 0.8831 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.00406, allocations: 0 / 0.8831 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/0.004136, allocations: 97.25 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.004137, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.004154, allocations: 4 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004157, allocations: 8.031 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-06/0.00416, allocations: 0 / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.00416, allocations: 0 / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004161, allocations: 0 / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.949e-05/0.00423, allocations: 191.9 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.004237, allocations: 7.938 kB / 0.8834 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.004244, allocations: 3.938 kB / 0.8834 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.004273, allocations: 4 kB / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.004294, allocations: 3.984 kB / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.004296, allocations: 3.938 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.004325, allocations: 127.2 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004325, allocations: 0 / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001418/0.004467, allocations: 15.95 kB / 0.8836 GB, free: 1.488 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 7.852e-05/0.004545, allocations: 95.23 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.093e-05/0.004596, allocations: 15.69 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.004597, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.00461, allocations: 11.69 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.004759, allocations: 4 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.004925, allocations: 130.3 kB / 0.8838 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.004956, allocations: 55.3 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.00497, allocations: 4.188 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.005004, allocations: 66.2 kB / 0.884 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.005004, allocations: 0 / 0.884 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of Templates: time 0.001812/0.006816, allocations: 0.6279 MB / 0.8846 GB, free: 436 kB / 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.154386225156486]