Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.001211/0.001211, allocations: 113 kB / 17.6 MB, free: 4.684 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.001341/0.001341, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.599/2.599, allocations: 443.5 MB / 0.7304 GB, free: 13.93 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002812/0.32, allocations: 1.455 MB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.3204, allocations: 100.6 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.3204, allocations: 0 / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.3205, allocations: 3.938 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.3206, allocations: 3.938 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3208, allocations: 19.98 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.3209, allocations: 27.86 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.321, allocations: 8 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.321, allocations: 11.98 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.3211, allocations: 11.92 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3211, allocations: 0 / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.3212, allocations: 23.98 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.3212, allocations: 3.984 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3213, allocations: 11.92 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.3214, allocations: 39.78 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3214, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.11e-06/0.3214, allocations: 3.984 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3214, allocations: 4 kB / 1.218 GB, free: 13.63 MB / 0.9669 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.0005134/0.3219, allocations: 347.3 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.322, allocations: 12.03 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.322, allocations: 0.9375 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3221, allocations: 164.4 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3222, allocations: 384 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.3222, allocations: 384 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3224, allocations: 50.23 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3224, allocations: 8.125 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3224, allocations: 3.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3224, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3226, allocations: 39.89 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3229, allocations: 256.9 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3231, allocations: 46.5 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.3232, allocations: 20.91 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.3232, allocations: 11.97 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3232, allocations: 30.56 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3232, allocations: 0 / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003836/0.3236, allocations: 93.58 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3237, allocations: 51.41 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.3237, allocations: 105.8 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3238, allocations: 25.7 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.3238, allocations: 92.08 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3238, allocations: 7.891 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3239, allocations: 13.72 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.324, allocations: 323 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.3241, allocations: 11.98 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3242, allocations: 19.98 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3243, allocations: 45.06 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3243, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002015/0.3245, allocations: 81.59 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3246, allocations: 0 / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.3247, allocations: 4 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3247, allocations: 3.984 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3247, allocations: 7.953 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3247, allocations: 3.984 kB / 1.22 GB, free: 11.55 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 (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 9.609e-05/0.3248, allocations: 121.8 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.3248, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3251, allocations: 85.11 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3251, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3251, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3251, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3253, allocations: 169.5 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3253, allocations: 4.031 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.3253, allocations: 4 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3254, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3254, allocations: 7.984 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3254, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3254, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3256, allocations: 167.5 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3257, allocations: 89 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3257, allocations: 0 / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.3258, allocations: 11.98 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3258, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3258, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.3259, allocations: 87.28 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002346/0.3261, allocations: 11.98 kB / 1.22 GB, free: 10.7 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 (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.000173/0.3263, allocations: 99.28 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3265, allocations: 43.95 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3265, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.3266, allocations: 15.98 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3269, allocations: 10.25 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.3272, allocations: 133.4 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3276, allocations: 0.6768 MB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.3276, allocations: 4 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.3276, allocations: 11.44 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/0.3276, allocations: 0 / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of Templates: time 0.002922/0.3305, allocations: 0.5341 MB / 1.222 GB, free: 9.125 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.907542829401791]