Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001639/0.001639, allocations: 80.98 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001821/0.001821, allocations: 166.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.907/2.907, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.841e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001661/0.001689, allocations: 0.6052 MB / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002013/0.001891, allocations: 27.89 kB / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-06/0.001901, allocations: 0 / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.001917, allocations: 0 / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.001922, allocations: 0 / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.002183, allocations: 23.92 kB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.981e-05/0.002223, allocations: 0 / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.002265, allocations: 0 / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.002288, allocations: 0 / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.908e-05/0.002307, allocations: 4 kB / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.002323, allocations: 3.984 kB / 1.001 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.002406, allocations: 15.98 kB / 1.001 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.002417, allocations: 3.984 kB / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.002429, allocations: 0 / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 7.82e-05/0.002508, allocations: 7.984 kB / 1.001 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.002511, allocations: 7.984 kB / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002512, allocations: 0 / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.002517, allocations: 4 kB / 1.001 GB, free: 6.57 MB / 0.9512 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.0003067/0.002824, allocations: 238.4 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.002857, allocations: 8.031 kB / 1.001 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.002884, allocations: 0.9375 kB / 1.001 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.002977, allocations: 101.8 kB / 1.001 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.002984, allocations: 4.375 kB / 1.001 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.002996, allocations: 4.312 kB / 1.001 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.003095, allocations: 38.12 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.003104, allocations: 4.188 kB / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.003111, allocations: 384 / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003115, allocations: 4.375 kB / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.003135, allocations: 3.938 kB / 1.001 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.003265, allocations: 101.4 kB / 1.001 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.003301, allocations: 14.58 kB / 1.001 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.003319, allocations: 4.859 kB / 1.001 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.003352, allocations: 8.047 kB / 1.001 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.003387, allocations: 38.48 kB / 1.001 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.003388, allocations: 0 / 1.001 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.00353, allocations: 37.7 kB / 1.001 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.003569, allocations: 51.41 kB / 1.001 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/0.003616, allocations: 93.86 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.003638, allocations: 25.7 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.003673, allocations: 80.14 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.0037, allocations: 0 / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.003732, allocations: 13.72 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.003875, allocations: 318.8 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.003886, allocations: 0 / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.003896, allocations: 4 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.003928, allocations: 16.98 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00393, allocations: 4 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.903e-05/0.003999, allocations: 29.7 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.004014, allocations: 6.5 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004018, allocations: 0 / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.004039, allocations: 4 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.004093, allocations: 3.984 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004097, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.004117, allocations: 11.89 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.004131, allocations: 4 kB / 1.002 GB, free: 5.145 MB / 0.9512 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 7.387e-05/0.004205, allocations: 109.9 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.004212, allocations: 0 / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.004336, allocations: 48.62 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004338, allocations: 0 / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.004341, allocations: 3.938 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004343, allocations: 0 / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.597e-05/0.004429, allocations: 97.27 kB / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.004432, allocations: 8.031 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.00445, allocations: 0 / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004452, allocations: 0 / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.004459, allocations: 0 / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.004462, allocations: 7.922 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.004465, allocations: 4 kB / 1.002 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.004545, allocations: 61.02 kB / 1.002 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.004552, allocations: 4 kB / 1.002 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.004561, allocations: 0 / 1.002 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.004572, allocations: 0 / 1.002 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.00459, allocations: 3.984 kB / 1.002 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.004597, allocations: 8.031 kB / 1.002 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.004636, allocations: 75.28 kB / 1.002 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.004636, allocations: 0 / 1.002 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001983/0.004834, allocations: 0 / 1.002 GB, free: 4.656 MB / 0.9512 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.0001545/0.004989, allocations: 103.2 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.005056, allocations: 8 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005058, allocations: 0 / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.005066, allocations: 4 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.005193, allocations: 8.109 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.005399, allocations: 84.94 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.005445, allocations: 55.36 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.005464, allocations: 0 / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.005487, allocations: 8.5 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.005487, allocations: 4 kB / 1.003 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.002713/0.0082, allocations: 286.2 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.875162493437529]