Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001474/0.001474, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001561/0.001561, allocations: 174 kB / 23.28 MB, free: 1.219 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.159/1.159, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.685/2.685, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.469e-05, allocations: 9.062 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002312/0.002347, allocations: 1.494 MB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.002705, allocations: 79.81 kB / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.002748, allocations: 0 / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.002836, allocations: 3.938 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.002891, allocations: 15.92 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.003219, allocations: 11.98 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.003305, allocations: 23.92 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003414, allocations: 7.984 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.003469, allocations: 8 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.003507, allocations: 15.92 kB / 0.8914 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.003527, allocations: 7.922 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.003618, allocations: 15.98 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.003658, allocations: 4 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.003678, allocations: 11.98 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.0038, allocations: 39.83 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003803, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.103e-06/0.003804, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.003809, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 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.0004075/0.004217, allocations: 368.5 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.004272, allocations: 12.62 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.004305, allocations: 0.9375 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.004409, allocations: 108.6 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.004424, allocations: 4.375 kB / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.004432, allocations: 4.375 kB / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004571, allocations: 58.88 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004579, allocations: 192 / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.004586, allocations: 4.375 kB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004592, allocations: 384 / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.004614, allocations: 3.938 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.004881, allocations: 236.4 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.004929, allocations: 35.05 kB / 0.8922 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.004943, allocations: 7.688 kB / 0.8922 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.004989, allocations: 15.92 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.005016, allocations: 33.39 kB / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.005018, allocations: 4 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.005157, allocations: 41.62 kB / 0.8923 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.005185, allocations: 51.41 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.005267, allocations: 161.9 kB / 0.8925 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005278, allocations: 25.7 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.005337, allocations: 138.8 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.005356, allocations: 7.891 kB / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.005386, allocations: 19.38 kB / 0.8927 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.005518, allocations: 0.4883 MB / 0.8932 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.005534, allocations: 3.938 kB / 0.8932 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.005547, allocations: 12.11 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.005577, allocations: 11.69 kB / 0.8932 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00558, allocations: 0 / 0.8932 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.124e-05/0.005641, allocations: 33.7 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.005658, allocations: 4 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.005665, allocations: 0 / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.005684, allocations: 7.938 kB / 0.8933 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.005772, allocations: 7.984 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005776, allocations: 0 / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.005794, allocations: 8.047 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.005801, allocations: 11.92 kB / 0.8933 GB, free: 5.914 MB / 0.8542 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 8.229e-05/0.005883, allocations: 160.6 kB / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.005897, allocations: 0 / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.005995, allocations: 41.56 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.005999, allocations: 3.938 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.006003, allocations: 8 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006005, allocations: 0 / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.006108, allocations: 101.2 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006109, allocations: 0 / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.006137, allocations: 8.031 kB / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.00614, allocations: 0 / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.006144, allocations: 0 / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006145, allocations: 0 / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006147, allocations: 7.984 kB / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.00626, allocations: 183.8 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.006267, allocations: 3.953 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.006276, allocations: 8 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.006308, allocations: 3.984 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.00634, allocations: 4 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006345, allocations: 7.969 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.00639, allocations: 131.2 kB / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 0 / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001465/0.006537, allocations: 4 kB / 0.8939 GB, free: 5.184 MB / 0.8542 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.000144/0.006681, allocations: 103.2 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.006755, allocations: 19.62 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006757, allocations: 4 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.006774, allocations: 11.69 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.00697, allocations: 12.11 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.007254, allocations: 118.3 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.007293, allocations: 59.3 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.007311, allocations: 0 / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.00736, allocations: 74.19 kB / 0.8943 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.007361, allocations: 0 / 0.8943 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of Templates: time 0.00287/0.01023, allocations: 0.6133 MB / 0.8949 GB, free: 4.117 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.500089772976935]