Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 111.5 kB / 18.88 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 193.5 kB / 22.17 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8651, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002808/0.8679, allocations: 1.45 MB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.8683, allocations: 103.7 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.8683, allocations: 4 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.296e-05/0.8684, allocations: 3.984 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.8684, allocations: 7.938 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.8686, allocations: 11.98 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.8687, allocations: 27.92 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.8688, allocations: 3.984 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.8689, allocations: 15.92 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.8689, allocations: 8 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8689, allocations: 3.938 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.869, allocations: 27.91 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.8691, allocations: 7.938 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.8691, allocations: 11.94 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.8692, allocations: 38.55 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8692, allocations: 4 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8692, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8692, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 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.0005377/0.8698, allocations: 347.3 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.8698, allocations: 8.031 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.8698, allocations: 0.9375 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.87, allocations: 180.3 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.87, allocations: 384 / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.87, allocations: 384 / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.8702, allocations: 54.17 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8702, allocations: 4.188 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8702, allocations: 7.938 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8702, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.8704, allocations: 39.94 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.8707, allocations: 249 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.8709, allocations: 46.48 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.871, allocations: 24.91 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.871, allocations: 3.938 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.8711, allocations: 34.56 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.8711, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004067/0.8715, allocations: 89.62 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.8715, allocations: 51.41 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.8716, allocations: 101.9 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.8716, allocations: 29.7 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.8717, allocations: 92.25 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.8717, allocations: 3.953 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.8718, allocations: 13.72 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.8719, allocations: 314.8 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.872, allocations: 19.97 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.8721, allocations: 19.92 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.8723, allocations: 44.89 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8723, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002205/0.8725, allocations: 73.8 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8725, allocations: 8 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.8725, allocations: 3.938 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8725, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.8726, allocations: 16.02 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.8726, allocations: 3.938 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.8727, allocations: 11.98 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.8727, allocations: 4 kB / 1.278 GB, free: 0.7227 MB / 0.9669 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 9.337e-05/0.8728, allocations: 113.7 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.8728, allocations: 4 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.8731, allocations: 81.17 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8731, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.8731, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.8731, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.8733, allocations: 161.6 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8733, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.8733, allocations: 7.984 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8733, allocations: 4 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8733, allocations: 0 / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.8733, allocations: 0 / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8733, allocations: 4.031 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.8736, allocations: 171.4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.8737, allocations: 85.05 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.8737, allocations: 0 / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.8738, allocations: 4 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.8738, allocations: 4.047 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.8738, allocations: 11.97 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.8739, allocations: 79.28 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8739, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.8741, allocations: 11.94 kB / 1.278 GB, free: 15.89 MB / 0.9825 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.0001569/0.8743, allocations: 103.8 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.8745, allocations: 43.91 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8745, allocations: 4.062 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.8746, allocations: 19.97 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.8749, allocations: 9.5 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.8753, allocations: 121.4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.8757, allocations: 0.6768 MB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.8757, allocations: 12.12 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.8757, allocations: 11.5 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.8757, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.003091/0.8788, allocations: 0.5476 MB / 1.28 GB, free: 14.3 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.963027017656714]