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.001128/0.001128, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001291/0.001291, allocations: 181 kB / 23.36 MB, free: 1.133 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.9855/0.9855, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.343/2.343, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.672e-05, allocations: 12.5 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002264/0.002291, allocations: 1.502 MB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002783/0.002569, allocations: 83.61 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.002597, allocations: 4 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.182e-05/0.002659, allocations: 7.984 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.002697, allocations: 3.938 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.002941, allocations: 11.98 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.003008, allocations: 27.92 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.003081, allocations: 3.984 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.003122, allocations: 19.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.804e-05/0.00315, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.003167, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.003242, allocations: 19.95 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.003275, allocations: 8 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.003291, allocations: 11.94 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003394, allocations: 27.84 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003396, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003397, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.0034, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 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.0003204/0.003721, allocations: 240.9 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.003757, allocations: 12.61 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.003786, allocations: 4.938 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.003863, allocations: 109.8 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.003872, allocations: 384 / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.003881, allocations: 384 / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.003983, allocations: 61.78 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003989, allocations: 192 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003995, allocations: 384 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004, allocations: 384 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004022, allocations: 15.86 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.004221, allocations: 150 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.004277, allocations: 73.31 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.004292, allocations: 4.859 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.004321, allocations: 4.062 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.004341, allocations: 38.5 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.004342, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001044/0.004446, allocations: 41.62 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.004475, allocations: 55.34 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004531, allocations: 106.7 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.004542, allocations: 29.69 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.004632, allocations: 80.14 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.00465, allocations: 15.89 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.004677, allocations: 9.719 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.00476, allocations: 318.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.004772, allocations: 6.953 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.004783, allocations: 7.984 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.004811, allocations: 15.62 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.004813, allocations: 256 / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.667e-05/0.00487, allocations: 37.69 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.004883, allocations: 6.188 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.004888, allocations: 4 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.004901, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.004964, allocations: 7.938 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.004966, allocations: 4.094 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.004987, allocations: 4 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004992, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 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 5.775e-05/0.005049, allocations: 116.7 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.005069, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.005141, allocations: 45.25 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005142, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.005145, allocations: 3.938 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.005147, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.005258, allocations: 73.83 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005259, allocations: 4.031 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.005285, allocations: 4 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.005288, allocations: 7.984 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.005291, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005292, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005293, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.005382, allocations: 186.2 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.005389, allocations: 7.938 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.005397, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.495e-05/0.005442, allocations: 3.984 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.005467, allocations: 8.031 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005469, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.005484, allocations: 12.8 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005484, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001812/0.005665, allocations: 4 kB / 0.8421 GB, free: 10.33 MB / 0.8073 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.0001046/0.00577, allocations: 80.41 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.206e-05/0.005822, allocations: 16.86 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.005824, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.005842, allocations: 16.86 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.005999, allocations: 8.172 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006221, allocations: 114.4 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.161e-05/0.006252, allocations: 51.36 kB / 0.8424 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.006271, allocations: 8 kB / 0.8424 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.006306, allocations: 47.38 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.006306, allocations: 4 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.002362/0.008668, allocations: 0.5505 MB / 0.843 GB, free: 9.391 MB / 0.8073 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.191971638705581]