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.0009773/0.0009773, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001007/0.001007, allocations: 169 kB / 24.28 MB, free: 276 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.9239/0.9239, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.838/1.838, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.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 1.332e-06/1.332e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.445e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00187/0.001894, allocations: 1.495 MB / 0.813 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.002183, allocations: 96.66 kB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.002218, allocations: 0 / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.85e-05/0.002276, allocations: 3.938 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/0.00231, allocations: 5.625 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.002578, allocations: 23.92 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.002645, allocations: 19.92 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.002732, allocations: 13.52 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.00277, allocations: 8 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.002805, allocations: 11.92 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.002818, allocations: 0 / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.0029, allocations: 25.05 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.002936, allocations: 8 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.002952, allocations: 0 / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.003074, allocations: 41.3 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003076, allocations: 0 / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003077, allocations: 0 / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.00308, allocations: 0 / 0.8132 GB, free: 332 kB / 0.7605 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.000355/0.003435, allocations: 365.1 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.003472, allocations: 8.75 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.003511, allocations: 8.875 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.003605, allocations: 121 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.003617, allocations: 4.375 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.003625, allocations: 1.969 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003742, allocations: 50.95 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003749, allocations: 192 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.003758, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003766, allocations: 1 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.003795, allocations: 12.7 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.00407, allocations: 251.8 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.004125, allocations: 31.66 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.004148, allocations: 12.34 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.004184, allocations: 3.984 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.004206, allocations: 38.08 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/0.004208, allocations: 1.375 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.00436, allocations: 45.58 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.004392, allocations: 51.41 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.004466, allocations: 167.7 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.004474, allocations: 25.7 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.004521, allocations: 134.9 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.004537, allocations: 11.83 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.004569, allocations: 23.36 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.004672, allocations: 498.4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.004685, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.004695, allocations: 4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.00472, allocations: 11.69 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004722, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.151e-05/0.004774, allocations: 52.83 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004786, allocations: 8 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004791, allocations: 3.938 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.004804, allocations: 0 / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.004862, allocations: 4 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.004867, allocations: 0 / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.004884, allocations: 7.984 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.004888, allocations: 256 / 0.8151 GB, free: 14.21 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 (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.77e-05/0.004946, allocations: 153.7 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.004958, allocations: 4 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.005049, allocations: 57.69 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00505, allocations: 0.5625 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.005053, allocations: 0.5625 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.005056, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.986e-05/0.005146, allocations: 117.6 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005147, allocations: 0 / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.005169, allocations: 8 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.00517, allocations: 0.9375 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005176, allocations: 0 / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.005178, allocations: 6.219 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005179, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.005261, allocations: 191.9 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.005266, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.005274, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.005305, allocations: 11.92 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.005338, allocations: 4.75 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.00534, allocations: 0 / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.005375, allocations: 132.1 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005375, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001465/0.005521, allocations: 17.14 kB / 0.8158 GB, free: 13.46 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 (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.000106/0.005627, allocations: 95.25 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.005699, allocations: 12.66 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.005702, allocations: 4 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.005718, allocations: 12.62 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.005894, allocations: 12.98 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.00616, allocations: 126.3 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.006195, allocations: 60.25 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.474e-05/0.00621, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.006228, allocations: 13.62 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.006229, allocations: 0 / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.00205/0.008279, allocations: 0.5794 MB / 0.8167 GB, free: 12.51 MB / 0.7761 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.925891465041786]