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.000861/0.000861, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008693/0.0008693, allocations: 177.9 kB / 23.21 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.9154/0.9154, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.732/1.732, allocations: 377.8 MB / 0.6228 GB, free: 8.664 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.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.783e-06/1.783e-06, allocations: 0 / 0.9822 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.105e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001518/0.001549, allocations: 0.5908 MB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.001775, allocations: 31.89 kB / 0.9829 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.001787, allocations: 4 kB / 0.9829 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.001803, allocations: 0 / 0.9829 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-06/0.001811, allocations: 0 / 0.9829 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.002144, allocations: 19.91 kB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.002198, allocations: 4 kB / 0.9829 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.002244, allocations: 3.984 kB / 0.9829 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.002274, allocations: 0 / 0.9829 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.058e-05/0.002304, allocations: 4 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.002317, allocations: 0 / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.002413, allocations: 19.91 kB / 0.9829 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.002423, allocations: 8 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.002438, allocations: 0 / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.002544, allocations: 23.91 kB / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002546, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002547, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002551, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 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.0002771/0.002828, allocations: 240.8 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.002868, allocations: 8.031 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.002903, allocations: 4.938 kB / 0.9832 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.096e-05/0.002974, allocations: 105.8 kB / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.002985, allocations: 384 / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.002994, allocations: 4.375 kB / 0.9833 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.003088, allocations: 34.2 kB / 0.9833 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.0031, allocations: 4.172 kB / 0.9833 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.00311, allocations: 384 / 0.9833 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003115, allocations: 384 / 0.9833 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.003136, allocations: 3.938 kB / 0.9833 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.003257, allocations: 105.2 kB / 0.9834 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.0033, allocations: 18.58 kB / 0.9834 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.003319, allocations: 8.953 kB / 0.9835 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.00336, allocations: 3.938 kB / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.003383, allocations: 34.56 kB / 0.9835 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.003384, allocations: 4 kB / 0.9835 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.003519, allocations: 33.69 kB / 0.9835 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.003554, allocations: 51.41 kB / 0.9836 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.369e-05/0.003588, allocations: 89.86 kB / 0.9837 GB, free: 444 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.0036, allocations: 25.7 kB / 0.9837 GB, free: 412 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.003624, allocations: 80.14 kB / 0.9838 GB, free: 328 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.003655, allocations: 8 kB / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.003685, allocations: 9.719 kB / 0.9838 GB, free: 304 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.003796, allocations: 314.8 kB / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.003809, allocations: 8.125 kB / 0.9841 GB, free: 15.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.003817, allocations: 3.938 kB / 0.9841 GB, free: 15.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.003846, allocations: 12.84 kB / 0.9841 GB, free: 15.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003848, allocations: 0 / 0.9841 GB, free: 15.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.53e-05/0.003903, allocations: 33.7 kB / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.003916, allocations: 8 kB / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.003921, allocations: 0 / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.003933, allocations: 0 / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.00399, allocations: 0 / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.003996, allocations: 4.094 kB / 0.9841 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.004012, allocations: 11.88 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.004024, allocations: 0 / 0.9842 GB, free: 15.89 MB / 0.948 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 6.321e-05/0.004087, allocations: 109.8 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.004093, allocations: 3.938 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.004184, allocations: 44.64 kB / 0.9843 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.004187, allocations: 0 / 0.9843 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.004192, allocations: 8.016 kB / 0.9843 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.004195, allocations: 0 / 0.9843 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.554e-05/0.004261, allocations: 105.3 kB / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.004263, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.004275, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.004277, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.004283, allocations: 4 kB / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.004284, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004285, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.011e-05/0.004345, allocations: 65 kB / 0.9845 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-06/0.004352, allocations: 7.984 kB / 0.9845 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.004362, allocations: 4.031 kB / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.004369, allocations: 0 / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.004383, allocations: 4 kB / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.004387, allocations: 0 / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.004413, allocations: 75.28 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004413, allocations: 0 / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002117/0.004624, allocations: 4 kB / 0.9846 GB, free: 15.4 MB / 0.948 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.0001323/0.004757, allocations: 107.2 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.00482, allocations: 4 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004821, allocations: 4.062 kB / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-06/0.004827, allocations: 3.938 kB / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.004968, allocations: 4 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.005159, allocations: 102.7 kB / 0.9848 GB, free: 15.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.005199, allocations: 59.22 kB / 0.9848 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.005227, allocations: 12.5 kB / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.005227, allocations: 0 / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Templates: time 0.001635/0.006862, allocations: 467.8 kB / 0.9853 GB, free: 14.59 MB / 0.948 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: 6.73037987574935]