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.001394/0.001394, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001506/0.001506, allocations: 165 kB / 23.82 MB, free: 0.75 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.9481/0.9481, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.493e-06/1.493e-06, allocations: 0 / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.724e-05, allocations: 3.312 kB / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.004186/0.004203, allocations: 1.504 MB / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.004476, allocations: 96.77 kB / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.004502, allocations: 0 / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.52e-05/0.004557, allocations: 0.8125 kB / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.004594, allocations: 6.109 kB / 0.8131 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.004846, allocations: 24.56 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.004909, allocations: 25.81 kB / 0.8131 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.004982, allocations: 7.984 kB / 0.8131 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.005019, allocations: 15.92 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.005054, allocations: 4 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.005067, allocations: 5.344 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.005154, allocations: 19.97 kB / 0.8132 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.00519, allocations: 4 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.005211, allocations: 12.61 kB / 0.8132 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.005322, allocations: 31.95 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005324, allocations: 0.9062 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.005324, allocations: 0 / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.005328, allocations: 0.6562 kB / 0.8132 GB, free: 14.84 MB / 0.7292 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.0003401/0.005668, allocations: 372.1 kB / 0.8136 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.005703, allocations: 9.062 kB / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.005733, allocations: 4.938 kB / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.204e-05/0.005815, allocations: 117.3 kB / 0.8137 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.005825, allocations: 384 / 0.8137 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.005836, allocations: 1.031 kB / 0.8137 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005948, allocations: 50.95 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005957, allocations: 1.438 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.005964, allocations: 384 / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005972, allocations: 4.375 kB / 0.8138 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.006003, allocations: 10.08 kB / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.009303, allocations: 255.7 kB / 0.814 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.595e-05/0.009359, allocations: 35.09 kB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.009381, allocations: 7.688 kB / 0.8141 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.00942, allocations: 4.062 kB / 0.8141 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.00944, allocations: 34.2 kB / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.009441, allocations: 0 / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.009586, allocations: 54.84 kB / 0.8142 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.009612, allocations: 51.41 kB / 0.8142 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.009691, allocations: 165.9 kB / 0.8144 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.009702, allocations: 26.36 kB / 0.8144 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.00975, allocations: 135.6 kB / 0.8145 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.009766, allocations: 3.953 kB / 0.8145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.009796, allocations: 20.88 kB / 0.8145 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.009916, allocations: 496.1 kB / 0.815 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.009929, allocations: 4 kB / 0.815 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.00994, allocations: 0 / 0.815 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.00997, allocations: 17.2 kB / 0.815 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009973, allocations: 4 kB / 0.815 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.962e-05/0.01004, allocations: 45.59 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01005, allocations: 7.969 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01006, allocations: 3.938 kB / 0.8151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01007, allocations: 0 / 0.8151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.01014, allocations: 7.984 kB / 0.8151 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01015, allocations: 5.094 kB / 0.8151 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.01017, allocations: 0 / 0.8151 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.01017, allocations: 0 / 0.8151 GB, free: 12.73 MB / 0.7292 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 6.074e-05/0.01023, allocations: 158.1 kB / 0.8153 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.01025, allocations: 3.984 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.01034, allocations: 53.19 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01034, allocations: 0.5312 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01035, allocations: 0.5938 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01035, allocations: 4 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.01046, allocations: 117.2 kB / 0.8154 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01046, allocations: 0.7812 kB / 0.8154 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.01049, allocations: 7.984 kB / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01049, allocations: 0.9062 kB / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.0105, allocations: 3.938 kB / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.0105, allocations: 3.938 kB / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0105, allocations: 4.531 kB / 0.8155 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.566e-05/0.01059, allocations: 185.3 kB / 0.8156 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.0106, allocations: 11.92 kB / 0.8156 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.01061, allocations: 0 / 0.8156 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.01066, allocations: 9.031 kB / 0.8156 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.0107, allocations: 4 kB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.0107, allocations: 4.844 kB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.01074, allocations: 131.2 kB / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01074, allocations: 0 / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002421/0.01098, allocations: 9.344 kB / 0.8158 GB, free: 11.97 MB / 0.7292 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.0001023/0.01108, allocations: 95.25 kB / 0.8159 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.01116, allocations: 20.23 kB / 0.8159 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01116, allocations: 0.625 kB / 0.8159 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.01118, allocations: 17.5 kB / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01143, allocations: 7.938 kB / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.01167, allocations: 131 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.01171, allocations: 55.34 kB / 0.8161 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.01173, allocations: 7.469 kB / 0.8161 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.01175, allocations: 8.5 kB / 0.8161 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.01175, allocations: 0 / 0.8161 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.005391/0.01714, allocations: 0.5791 MB / 0.8167 GB, free: 11.02 MB / 0.7292 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: 5.084759694989771]