Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001022/0.001022, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001622/0.001622, allocations: 161 kB / 24.16 MB, free: 336 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.9715/0.9715, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.586e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002602/0.002628, allocations: 1.512 MB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002946/0.002922, allocations: 88.39 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002951, allocations: 0.8125 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.965e-05/0.00301, allocations: 3.938 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.003051, allocations: 7.25 kB / 0.7616 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.003316, allocations: 28.78 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.003384, allocations: 19.92 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.003464, allocations: 9.938 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.003508, allocations: 13.73 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.003543, allocations: 9.078 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003556, allocations: 4 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.003641, allocations: 15.98 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.003675, allocations: 10.89 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.003689, allocations: 8.859 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.003781, allocations: 34.2 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003782, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003783, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.003786, allocations: 0.5312 kB / 0.7617 GB, free: 4.91 MB / 0.7136 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.0002571/0.004043, allocations: 242.3 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.004073, allocations: 12.03 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.004095, allocations: 0.9375 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.004169, allocations: 109.7 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.004177, allocations: 2.281 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.004186, allocations: 4.375 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.004273, allocations: 57.77 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004279, allocations: 1.438 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.004285, allocations: 384 / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.00429, allocations: 4.375 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.004309, allocations: 9.391 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.00449, allocations: 157.9 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.004615, allocations: 73.83 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.004626, allocations: 5.516 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.004653, allocations: 5.344 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004672, allocations: 34.59 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004672, allocations: 0 / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.588e-05/0.004758, allocations: 39.52 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.004785, allocations: 55.34 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.004834, allocations: 106.7 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004842, allocations: 27.2 kB / 0.7626 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.004869, allocations: 92.12 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.004882, allocations: 7.891 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.004903, allocations: 14.48 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.004966, allocations: 319.6 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.004974, allocations: 2.828 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.004981, allocations: 4.75 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.005002, allocations: 12.44 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.005003, allocations: 0 / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.523e-05/0.005038, allocations: 43.75 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.005047, allocations: 4.656 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.00505, allocations: 0 / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005061, allocations: 0 / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.005111, allocations: 15.92 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.005113, allocations: 2.719 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.005126, allocations: 0 / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-06/0.005129, allocations: 1.203 kB / 0.7631 GB, free: 3.324 MB / 0.7136 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.6e-05/0.005175, allocations: 116.7 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.005185, allocations: 0 / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.005238, allocations: 41.31 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005239, allocations: 7.312 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005241, allocations: 3.938 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005244, allocations: 4 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.844e-05/0.005313, allocations: 65.89 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005315, allocations: 4 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.005329, allocations: 4 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.005329, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.005333, allocations: 4.531 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.005334, allocations: 1.812 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-07/0.005334, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.137e-05/0.005396, allocations: 182.2 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.005401, allocations: 7.984 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.005408, allocations: 4.125 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.005442, allocations: 4 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.005464, allocations: 0 / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.005466, allocations: 0 / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.532e-05/0.005481, allocations: 24.7 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005481, allocations: 0 / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001134/0.005594, allocations: 8 kB / 0.7636 GB, free: 2.805 MB / 0.7136 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 9.09e-05/0.005685, allocations: 87.98 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.005732, allocations: 12.84 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.005734, allocations: 0 / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.005747, allocations: 8.859 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.005854, allocations: 4 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.006033, allocations: 119.7 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.00606, allocations: 59.89 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.181e-05/0.006072, allocations: 0 / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.006102, allocations: 52.66 kB / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.006103, allocations: 0 / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.001741/0.007844, allocations: 0.5744 MB / 0.7645 GB, free: 1.859 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.9163338341750205]