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.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.0007946/0.0007946, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008122/0.0008122, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8491/0.8491, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.563e-06/1.563e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.106e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001905/0.001936, allocations: 1.452 MB / 0.9532 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.002206, allocations: 99.69 kB / 0.9532 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.002233, allocations: 0 / 0.9532 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.002295, allocations: 7.922 kB / 0.9533 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.00233, allocations: 0 / 0.9533 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.002625, allocations: 23.92 kB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.002688, allocations: 23.91 kB / 0.9533 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.002775, allocations: 8 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.002812, allocations: 15.92 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.002851, allocations: 7.984 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002864, allocations: 0 / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.002945, allocations: 23.98 kB / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.002985, allocations: 7.984 kB / 0.9534 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.003005, allocations: 11.94 kB / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003117, allocations: 35.94 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003119, allocations: 0 / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.543e-06/0.00312, allocations: 0 / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003124, allocations: 0 / 0.9534 GB, free: 1.27 MB / 0.9011 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.0003304/0.003454, allocations: 274.2 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.00349, allocations: 11.97 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.003526, allocations: 4.938 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.003599, allocations: 109.8 kB / 0.9538 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.003649, allocations: 8.312 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.003657, allocations: 384 / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.003785, allocations: 50.23 kB / 0.9538 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003792, allocations: 192 / 0.9538 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.003802, allocations: 4.375 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.003806, allocations: 384 / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.003895, allocations: 43.89 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004143, allocations: 200.5 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.004222, allocations: 46.53 kB / 0.9541 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.004265, allocations: 20.84 kB / 0.9541 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.004296, allocations: 4 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004314, allocations: 34.56 kB / 0.9542 GB, free: 368 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004315, allocations: 0 / 0.9542 GB, free: 368 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.004531, allocations: 97.56 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.004561, allocations: 55.34 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.004621, allocations: 101.9 kB / 0.9544 GB, free: 84 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.004631, allocations: 29.7 kB / 0.9545 GB, free: 48 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.004678, allocations: 88.12 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.004694, allocations: 7.953 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.004716, allocations: 13.72 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.004783, allocations: 310.8 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.004826, allocations: 23.97 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.00486, allocations: 20.11 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.442e-05/0.004935, allocations: 40.83 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004937, allocations: 0 / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.734e-05/0.005034, allocations: 69.66 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.005044, allocations: 4 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005049, allocations: 11.97 kB / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.00506, allocations: 0 / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.005117, allocations: 11.98 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.005121, allocations: 0 / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.005143, allocations: 12.19 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005148, allocations: 0 / 0.955 GB, free: 15.42 MB / 0.9167 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 5.117e-05/0.005199, allocations: 109.8 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.00521, allocations: 8 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.005339, allocations: 81.2 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.005342, allocations: 0 / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005346, allocations: 0 / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005349, allocations: 4 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/0.005436, allocations: 113.2 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005437, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.005461, allocations: 8 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005462, allocations: 0 / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.00547, allocations: 11.92 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005471, allocations: 3.938 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005472, allocations: 7.969 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.005662, allocations: 163.5 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.005669, allocations: 7.953 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.005677, allocations: 0 / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.005713, allocations: 7.938 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.005745, allocations: 7.984 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.005747, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.005775, allocations: 83.28 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.005775, allocations: 4.031 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001463/0.005922, allocations: 8 kB / 0.9556 GB, free: 14.73 MB / 0.9167 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.000123/0.006045, allocations: 107.2 kB / 0.9557 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.006188, allocations: 39.91 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00619, allocations: 0 / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.006229, allocations: 19.97 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006426, allocations: 14.16 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.00668, allocations: 142.4 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.006724, allocations: 59.34 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.006744, allocations: 12.5 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.006744, allocations: 0 / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.001629/0.008373, allocations: 0.6841 MB / 0.9567 GB, free: 13.61 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.5367944948375225]