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.001064/0.001064, 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.001079/0.001079, 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 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.467/2.467, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.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.392e-06/1.392e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.709e-05, allocations: 8.219 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001177/0.001194, allocations: 0.6543 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.001365, allocations: 19.91 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.001376, allocations: 7.938 kB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.001388, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.001394, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.001648, allocations: 15.91 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.001691, allocations: 0 / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.001726, allocations: 4 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.001757, allocations: 7.984 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.001774, allocations: 0 / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.001786, allocations: 0 / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.001875, allocations: 19.97 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.001883, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.018e-05/0.001894, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.187e-05/0.001965, allocations: 11.98 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.001967, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.001968, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.001971, allocations: 0 / 0.8394 GB, free: 13.38 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001901/0.002161, allocations: 220.7 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.002194, allocations: 12.62 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.002215, allocations: 0.9375 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.525e-05/0.00227, allocations: 105.8 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.002278, allocations: 384 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.002284, allocations: 384 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.708e-05/0.002341, allocations: 34.2 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.002346, allocations: 192 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.002352, allocations: 384 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.002357, allocations: 384 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.372e-05/0.00237, allocations: 11.94 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.324e-05/0.002434, allocations: 57.38 kB / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.516e-05/0.002469, allocations: 26.55 kB / 0.8398 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-06/0.002479, allocations: 4.859 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.002502, allocations: 3.938 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.002522, allocations: 38.62 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002523, allocations: 0 / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.186e-05/0.002595, allocations: 29.7 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.002623, allocations: 51.41 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.834e-05/0.002651, allocations: 89.86 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.00266, allocations: 29.83 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.002678, allocations: 80.14 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.002708, allocations: 11.94 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.002734, allocations: 13.7 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.002808, allocations: 314.8 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.002815, allocations: 4 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.00282, allocations: 3.938 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.002843, allocations: 8.859 kB / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.002845, allocations: 0 / 0.8405 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.704e-05/0.002882, allocations: 37.75 kB / 0.8405 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.002891, allocations: 4 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.002895, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.002904, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.002947, allocations: 8 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.00295, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-06/0.002958, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.002968, allocations: 0 / 0.8405 GB, free: 12.05 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 (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.212e-05/0.00302, allocations: 121.7 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-06/0.003023, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.003086, allocations: 40.72 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.003087, allocations: 0 / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.003089, allocations: 0 / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.003091, allocations: 0 / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.137e-05/0.003132, allocations: 65.84 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.003134, allocations: 3.984 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.003142, allocations: 3.984 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.003143, allocations: 0 / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.003147, allocations: 4 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003147, allocations: 7.969 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.003148, allocations: 0 / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.198e-05/0.00319, allocations: 57.02 kB / 0.8408 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.003195, allocations: 7.984 kB / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-06/0.003201, allocations: 0 / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-06/0.003205, allocations: 0 / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.003214, allocations: 0 / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.003217, allocations: 4 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.651e-06/0.003223, allocations: 8.859 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003223, allocations: 0 / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.698e-05/0.00332, allocations: 4.031 kB / 0.8409 GB, free: 11.66 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 (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 8.728e-05/0.003407, allocations: 84.34 kB / 0.8409 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.403e-05/0.003451, allocations: 8.859 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.003453, allocations: 0 / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.003462, allocations: 12.8 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.613e-05/0.003508, allocations: 5.969 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000138/0.003646, allocations: 82.44 kB / 0.841 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.695e-05/0.003673, allocations: 55.47 kB / 0.8411 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.003691, allocations: 8 kB / 0.8411 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.003722, allocations: 47.38 kB / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.003722, allocations: 0 / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.001618/0.00534, allocations: 324.6 kB / 0.8415 GB, free: 10.99 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.317142019048333]