Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.001693/0.001693, allocations: 118.7 kB / 17.13 MB, free: 5.941 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.001899/0.001899, allocations: 198.2 kB / 20.08 MB, free: 3.012 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.464/1.464, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002474/0.3332, allocations: 0.587 MB / 1.215 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.3335, allocations: 39.88 kB / 1.215 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.3336, allocations: 0 / 1.215 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.3336, allocations: 3.938 kB / 1.215 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.3336, allocations: 0 / 1.215 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3339, allocations: 15.98 kB / 1.215 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.732e-05/0.334, allocations: 0 / 1.215 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.334, allocations: 0 / 1.215 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.334, allocations: 11.98 kB / 1.215 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.3341, allocations: 0 / 1.215 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3341, allocations: 0 / 1.215 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3342, allocations: 23.97 kB / 1.215 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3342, allocations: 0 / 1.215 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.3342, allocations: 7.875 kB / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3344, allocations: 11.98 kB / 1.215 GB, free: 188 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3344, allocations: 0 / 1.215 GB, free: 188 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3344, allocations: 0 / 1.215 GB, free: 188 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3344, allocations: 0 / 1.215 GB, free: 188 kB / 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.0004857/0.3349, allocations: 323.5 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3349, allocations: 8.031 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.335, allocations: 4.938 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3351, allocations: 160.4 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3351, allocations: 384 / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3351, allocations: 384 / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3353, allocations: 34.25 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3353, allocations: 192 / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3353, allocations: 3.938 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3353, allocations: 4 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.3353, allocations: 3.938 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.3355, allocations: 157.6 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.528e-05/0.3356, allocations: 14.58 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.3356, allocations: 4.859 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.3357, allocations: 4.062 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3357, allocations: 34.55 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.3357, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001975/0.3359, allocations: 41.58 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.336, allocations: 55.41 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.336, allocations: 89.86 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3361, allocations: 25.7 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3361, allocations: 80.14 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.3362, allocations: 3.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3362, allocations: 9.719 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3364, allocations: 323 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.3364, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.3364, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.3365, allocations: 12.86 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3365, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.813e-05/0.3365, allocations: 33.64 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3366, allocations: 8 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3366, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3366, allocations: 8.031 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.3367, allocations: 7.984 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3367, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.3367, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3367, allocations: 0 / 1.216 GB, free: 14.53 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 (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 8.868e-05/0.3368, allocations: 105.8 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.3368, allocations: 4 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.3369, allocations: 56.69 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3369, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.337, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.337, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3371, allocations: 149.7 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3371, allocations: 0 / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.3371, allocations: 0 / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3372, allocations: 3.984 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3372, allocations: 7.938 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3372, allocations: 0 / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3372, allocations: 4.031 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3373, allocations: 53.14 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3373, allocations: 81.11 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3374, allocations: 7.922 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.3374, allocations: 3.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.3374, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3374, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.3375, allocations: 83.25 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3375, allocations: 4 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003505/0.3378, allocations: 11.88 kB / 1.217 GB, free: 13.86 MB / 0.9669 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.0002183/0.338, allocations: 99.25 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.3381, allocations: 8 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3381, allocations: 0 / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.3382, allocations: 7.984 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3384, allocations: 8.109 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.3387, allocations: 102.6 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3391, allocations: 0.6729 MB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3391, allocations: 7.438 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.3391, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.002882/0.342, allocations: 464.4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.072119789896533]