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.001912/0.001912, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.00221/0.00221, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.784/2.784, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8295, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001479/0.831, allocations: 0.5875 MB / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.8312, allocations: 31.55 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.8312, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.8312, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.8312, allocations: 3.938 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.8315, allocations: 19.25 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.566e-05/0.8315, allocations: 0 / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.8316, allocations: 0 / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.8316, allocations: 5.969 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.8316, allocations: 7.984 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.8316, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.8317, allocations: 19.27 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.8317, allocations: 4 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.8317, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.402e-05/0.8318, allocations: 18.94 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8318, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8318, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8318, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 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.0002284/0.8321, allocations: 239.1 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.8321, allocations: 8.188 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.8321, allocations: 11.5 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.999e-05/0.8322, allocations: 109.8 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.8322, allocations: 384 / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8322, allocations: 2.938 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.879e-05/0.8323, allocations: 26.27 kB / 1.155 GB, free: 32.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8323, allocations: 7.375 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.8323, allocations: 3.938 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8323, allocations: 0 / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.8323, allocations: 0 / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.069e-05/0.8324, allocations: 103.2 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.8324, allocations: 25.08 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.8324, allocations: 4.859 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.8325, allocations: 3.312 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.8325, allocations: 30.56 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.8325, allocations: 0 / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.8326, allocations: 40.53 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.8326, allocations: 55.41 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.496e-05/0.8326, allocations: 89.86 kB / 1.155 GB, free: 32.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.8326, allocations: 25.7 kB / 1.155 GB, free: 32.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.8326, allocations: 80.14 kB / 1.155 GB, free: 31.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.8327, allocations: 14.27 kB / 1.155 GB, free: 31.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.8327, allocations: 16.22 kB / 1.155 GB, free: 31.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.8327, allocations: 310.8 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.8327, allocations: 0 / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.8327, allocations: 2.531 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.8328, allocations: 15.08 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8328, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.038e-05/0.8328, allocations: 34.86 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.8328, allocations: 5.531 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.8328, allocations: 4.094 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8328, allocations: 3.094 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.8329, allocations: 3.938 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.8329, allocations: 3.938 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.8329, allocations: 5.75 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.8329, allocations: 0 / 1.156 GB, free: 31.57 MB / 1.076 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 3.635e-05/0.8329, allocations: 109.1 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.8329, allocations: 0 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.833, allocations: 45.58 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.833, allocations: 3.938 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.833, allocations: 2.656 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.833, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.508e-05/0.8331, allocations: 97.27 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8331, allocations: 0 / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.8331, allocations: 6 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.8331, allocations: 0 / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.8331, allocations: 2.5 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8331, allocations: 4 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8331, allocations: 7.969 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.719e-05/0.8331, allocations: 61.73 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.8331, allocations: 7.281 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.8332, allocations: 0 / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.8332, allocations: 0 / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.8332, allocations: 10.92 kB / 1.156 GB, free: 31.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8332, allocations: 0 / 1.156 GB, free: 31.19 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.062e-05/0.8332, allocations: 75.28 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8332, allocations: 0 / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001878/0.8334, allocations: 5.219 kB / 1.156 GB, free: 31.12 MB / 1.076 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.0001132/0.8335, allocations: 108 kB / 1.156 GB, free: 31.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.8336, allocations: 13.19 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8336, allocations: 0 / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.8336, allocations: 3.094 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.8337, allocations: 0 / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001421/0.8338, allocations: 85.05 kB / 1.156 GB, free: 30.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.149e-05/0.8339, allocations: 54.45 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.8339, allocations: 4.125 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.8339, allocations: 11.41 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8339, allocations: 0 / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of Templates: time 0.002189/0.8361, allocations: 287.3 kB / 1.157 GB, free: 30.77 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.449692953960039]