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.00192/0.00192, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002375/0.002375, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.912/2.912, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.773e-06/1.773e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.037e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001928/0.001959, allocations: 0.5994 MB / 0.8114 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000248/0.002207, allocations: 36.52 kB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.002218, allocations: 3.938 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.002232, allocations: 0.9062 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-06/0.002237, allocations: 0 / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.002556, allocations: 12.64 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.173e-05/0.002598, allocations: 0 / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.002644, allocations: 8.859 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.002671, allocations: 0 / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.619e-05/0.002697, allocations: 1.188 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.002721, allocations: 0 / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.002825, allocations: 19.97 kB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-06/0.002834, allocations: 1.469 kB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.002853, allocations: 0 / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.00296, allocations: 23.91 kB / 0.8115 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.002963, allocations: 0 / 0.8115 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002963, allocations: 5.469 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002967, allocations: 0 / 0.8116 GB, free: 1.34 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.0003475/0.003314, allocations: 242.4 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.003351, allocations: 12.03 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.003393, allocations: 2.281 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.003498, allocations: 101.8 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.003511, allocations: 384 / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.003519, allocations: 4.375 kB / 0.8119 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.003615, allocations: 30.81 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.003623, allocations: 1.344 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.003642, allocations: 384 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.003646, allocations: 384 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.003673, allocations: 12.47 kB / 0.8119 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.003814, allocations: 97.33 kB / 0.812 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.003866, allocations: 20.61 kB / 0.8121 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.003885, allocations: 4.859 kB / 0.8121 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.003922, allocations: 4.062 kB / 0.8121 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.00396, allocations: 30.56 kB / 0.8121 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.00396, allocations: 0 / 0.8121 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.004122, allocations: 42.88 kB / 0.8121 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.004173, allocations: 55.41 kB / 0.8122 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.004235, allocations: 91.27 kB / 0.8123 GB, free: 480 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.004254, allocations: 25.7 kB / 0.8123 GB, free: 448 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.004302, allocations: 80.14 kB / 0.8124 GB, free: 364 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.004327, allocations: 0 / 0.8124 GB, free: 364 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.004361, allocations: 14.34 kB / 0.8124 GB, free: 344 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.004538, allocations: 314.8 kB / 0.8127 GB, free: 20 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.004557, allocations: 1.062 kB / 0.8127 GB, free: 20 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.004567, allocations: 4 kB / 0.8127 GB, free: 16 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.004605, allocations: 13.59 kB / 0.8127 GB, free: 0 / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004607, allocations: 4.766 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.863e-05/0.004675, allocations: 33.64 kB / 0.8127 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.004691, allocations: 5.281 kB / 0.8127 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.004695, allocations: 0 / 0.8127 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.004716, allocations: 4 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.00477, allocations: 5.781 kB / 0.8128 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.004775, allocations: 0 / 0.8128 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.004791, allocations: 3.938 kB / 0.8128 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.004806, allocations: 4 kB / 0.8128 GB, free: 15.93 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 9.211e-05/0.004898, allocations: 109.8 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.004907, allocations: 1.344 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.005021, allocations: 41.67 kB / 0.8129 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.00503, allocations: 11.92 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005034, allocations: 2.312 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005036, allocations: 0 / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.005138, allocations: 101.3 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005139, allocations: 0 / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.005158, allocations: 0 / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00516, allocations: 0 / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.005166, allocations: 3.438 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005167, allocations: 0 / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005168, allocations: 4 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.9e-05/0.005267, allocations: 69.02 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.005274, allocations: 3.984 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.005283, allocations: 0 / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.005296, allocations: 0 / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.005307, allocations: 0 / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.005316, allocations: 4 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002754/0.005591, allocations: 76.06 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.005591, allocations: 3.938 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001975/0.005789, allocations: 8.484 kB / 0.8132 GB, free: 15.45 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.0001771/0.005966, allocations: 108.2 kB / 0.8133 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.006033, allocations: 5.312 kB / 0.8133 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006035, allocations: 0 / 0.8133 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.006046, allocations: 4 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.006181, allocations: 9.297 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.006417, allocations: 74.33 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.006474, allocations: 56.17 kB / 0.8134 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.006497, allocations: 1.438 kB / 0.8134 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.006527, allocations: 13.16 kB / 0.8134 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.006528, allocations: 5.188 kB / 0.8134 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002727/0.009255, allocations: 322.8 kB / 0.8138 GB, free: 14.83 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 7.650800576084293]