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.001051/0.001051, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001065/0.001065, allocations: 185.3 kB / 24.09 MB, free: 416 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.9247/0.9247, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.803e-06/1.803e-06, allocations: 0 / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.878e-05, allocations: 3.188 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001678/0.001707, allocations: 0.606 MB / 0.8127 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.001949, allocations: 27.89 kB / 0.8127 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.001967, allocations: 0.5938 kB / 0.8127 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.001985, allocations: 4.875 kB / 0.8127 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.001993, allocations: 0 / 0.8127 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.002315, allocations: 20.88 kB / 0.8127 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.002354, allocations: 3.984 kB / 0.8127 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.002391, allocations: 4 kB / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.002421, allocations: 1 kB / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.002445, allocations: 0 / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.002456, allocations: 0.7812 kB / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.834e-05/0.002555, allocations: 19.97 kB / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.002564, allocations: 1.688 kB / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.031e-05/0.002574, allocations: 0 / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.6e-05/0.00267, allocations: 19.97 kB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002672, allocations: 0 / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002673, allocations: 0 / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.002678, allocations: 5.531 kB / 0.8128 GB, free: 0.7031 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.0002772/0.002955, allocations: 340.4 kB / 0.8131 GB, free: 340 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.003005, allocations: 11.97 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.003033, allocations: 0.9375 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.399e-05/0.003107, allocations: 114.2 kB / 0.8132 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003118, allocations: 384 / 0.8132 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.003124, allocations: 384 / 0.8132 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/0.00319, allocations: 30.25 kB / 0.8132 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003198, allocations: 4.688 kB / 0.8132 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.003205, allocations: 0.9688 kB / 0.8132 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.003211, allocations: 384 / 0.8132 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.003225, allocations: 8.719 kB / 0.8132 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.516e-05/0.00332, allocations: 93.27 kB / 0.8133 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.003371, allocations: 28.16 kB / 0.8134 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.003385, allocations: 7.688 kB / 0.8134 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.003421, allocations: 4.094 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.003446, allocations: 34.77 kB / 0.8134 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.003447, allocations: 0 / 0.8134 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.003557, allocations: 39.44 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.003588, allocations: 51.41 kB / 0.8135 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.003636, allocations: 142.2 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.003648, allocations: 33.64 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.003683, allocations: 126.9 kB / 0.8138 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.003711, allocations: 0.6562 kB / 0.8138 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.00374, allocations: 19.38 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.003883, allocations: 0.4892 MB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.003896, allocations: 0 / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.003905, allocations: 8.484 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.003935, allocations: 8.25 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003937, allocations: 1.375 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.222e-05/0.003989, allocations: 33.7 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.004001, allocations: 4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.004006, allocations: 2.594 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004016, allocations: 0 / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.004069, allocations: 7.938 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.004071, allocations: 0 / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.004082, allocations: 352 / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.004093, allocations: 3.984 kB / 0.8143 GB, free: 14.89 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 7.258e-05/0.004166, allocations: 165 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.004174, allocations: 4 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.004259, allocations: 43.56 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.004261, allocations: 0 / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.004264, allocations: 3.984 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004266, allocations: 0 / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.877e-05/0.004335, allocations: 97.2 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004336, allocations: 0.5938 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.004355, allocations: 5.125 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.004357, allocations: 0 / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.004361, allocations: 0 / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004361, allocations: 1 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.004363, allocations: 3.938 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.004432, allocations: 77.22 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.004436, allocations: 0 / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.004444, allocations: 4 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-06/0.004451, allocations: 2.219 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.004462, allocations: 0 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.004465, allocations: 0 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.004499, allocations: 119.2 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.004499, allocations: 0 / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002123/0.004712, allocations: 8 kB / 0.8149 GB, free: 14.32 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.0001271/0.004839, allocations: 106 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.004898, allocations: 15.62 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.004899, allocations: 0 / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.377e-06/0.004908, allocations: 11.69 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.005036, allocations: 5.438 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.005214, allocations: 95.92 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.005244, allocations: 51.36 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.005269, allocations: 1.562 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.00531, allocations: 71.27 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.005311, allocations: 0 / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of Templates: time 0.002121/0.007431, allocations: 352.2 kB / 0.8155 GB, free: 13.57 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: 4.875436699949205]