Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001007/0.001007, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009552/0.0009552, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9684/0.9684, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.871/1.871, allocations: 377.9 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.723e-05, allocations: 3.5 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00148/0.001507, allocations: 0.6084 MB / 0.8122 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.001723, allocations: 37.23 kB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.001736, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.001756, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-06/0.001764, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.002082, allocations: 17.02 kB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.051e-05/0.002123, allocations: 0 / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.00216, allocations: 5.234 kB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.002189, allocations: 4 kB / 0.8122 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.002213, allocations: 0 / 0.8122 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.002224, allocations: 0 / 0.8122 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.002315, allocations: 21.44 kB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.002324, allocations: 3.938 kB / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.002338, allocations: 0 / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.002431, allocations: 23.91 kB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002433, allocations: 1.125 kB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002434, allocations: 0 / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.002438, allocations: 0 / 0.8123 GB, free: 0.9922 MB / 0.7605 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.000278/0.002716, allocations: 337.1 kB / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.002754, allocations: 12.03 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.002786, allocations: 1.844 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.741e-05/0.002843, allocations: 108.6 kB / 0.8127 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.002855, allocations: 5.031 kB / 0.8127 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.002866, allocations: 384 / 0.8127 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.002946, allocations: 31.23 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.002956, allocations: 192 / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.002964, allocations: 1.125 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.002973, allocations: 384 / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.00299, allocations: 12.75 kB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.003096, allocations: 104.6 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.003136, allocations: 32.33 kB / 0.8129 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.003154, allocations: 7.688 kB / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.00319, allocations: 0 / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.003214, allocations: 43.3 kB / 0.8129 GB, free: 192 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.003215, allocations: 0 / 0.8129 GB, free: 192 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.003333, allocations: 33.64 kB / 0.813 GB, free: 152 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.003359, allocations: 51.41 kB / 0.813 GB, free: 88 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.003411, allocations: 143.4 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.003423, allocations: 29.7 kB / 0.8132 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.003453, allocations: 130.9 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.003478, allocations: 1.812 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.00351, allocations: 23.36 kB / 0.8133 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.003655, allocations: 0.4922 MB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.003668, allocations: 0 / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.003675, allocations: 0 / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.003705, allocations: 13.22 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003706, allocations: 0 / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.478e-05/0.003761, allocations: 33.64 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.003776, allocations: 16.11 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.00378, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.003795, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.003852, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.003857, allocations: 4.562 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.003868, allocations: 5.062 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.00388, allocations: 4 kB / 0.8139 GB, free: 15.15 MB / 0.7761 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 6.001e-05/0.00394, allocations: 158.4 kB / 0.814 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.003946, allocations: 4 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.004037, allocations: 49.19 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004038, allocations: 0.6875 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004042, allocations: 0 / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.004046, allocations: 4.5 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.703e-05/0.004103, allocations: 109.8 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004103, allocations: 0 / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.004118, allocations: 3.984 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.00412, allocations: 4 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.004127, allocations: 4.531 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004128, allocations: 1.219 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.004129, allocations: 0 / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.619e-05/0.004185, allocations: 68.39 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-06/0.004188, allocations: 1.062 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.004198, allocations: 3.984 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.004205, allocations: 0.9688 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.00422, allocations: 4 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.004224, allocations: 0 / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.964e-05/0.004253, allocations: 123.9 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.004253, allocations: 0 / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001869/0.00444, allocations: 4.938 kB / 0.8144 GB, free: 14.55 MB / 0.7761 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 0.0001231/0.004563, allocations: 112.4 kB / 0.8145 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.667e-05/0.00463, allocations: 19.67 kB / 0.8145 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004632, allocations: 0 / 0.8145 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.004641, allocations: 12.56 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.004766, allocations: 3.938 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.004948, allocations: 85.98 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.004978, allocations: 51.36 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.005, allocations: 0.6875 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.005022, allocations: 19.92 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.005023, allocations: 0 / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.00201/0.007033, allocations: 321.4 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1286054528318346]