Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001286/0.001286, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001449/0.001449, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.207/3.207, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [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.002053/0.002053, allocations: 66.55 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001669/0.3249, allocations: 0.5359 MB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.3254, allocations: 183.9 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.3255, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.3255, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.3255, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.3259, allocations: 71.77 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.326, allocations: 12 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.326, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.326, allocations: 7.938 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.3261, allocations: 7.969 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3261, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.3263, allocations: 167.7 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.3264, allocations: 0 / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3264, allocations: 11.97 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3266, allocations: 75.72 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3266, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3266, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3266, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003392/0.3269, allocations: 266.2 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3269, allocations: 8.031 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.327, allocations: 8.891 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3271, allocations: 102.5 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3271, allocations: 4.375 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3271, allocations: 8.359 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3272, allocations: 63.91 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3272, allocations: 192 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3273, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3273, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.3273, allocations: 15.98 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.3274, allocations: 113.2 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.3275, allocations: 26.61 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.3275, allocations: 12.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3275, allocations: 15.91 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3276, allocations: 34.56 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3276, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005081/0.3281, allocations: 229.1 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3281, allocations: 59.61 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.3282, allocations: 113.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3282, allocations: 25.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.3283, allocations: 84.14 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3283, allocations: 7.953 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3283, allocations: 17.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3285, allocations: 314.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.3285, allocations: 8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.3286, allocations: 29.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.712e-05/0.3286, allocations: 45.64 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3286, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.3287, allocations: 65.64 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3288, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3288, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3288, allocations: 7.875 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.3288, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3288, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.3288, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3289, allocations: 11.98 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.981e-05/0.3289, allocations: 114.4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.3289, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.3291, allocations: 69.61 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3291, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3291, allocations: 3.938 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3291, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3292, allocations: 117.3 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3292, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.3293, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3293, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3293, allocations: 15.94 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/0.3293, allocations: 7.922 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3293, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3295, allocations: 105.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.3295, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3295, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.3295, allocations: 11.91 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.3295, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3295, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.3296, allocations: 91.22 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3296, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002162/0.3298, allocations: 27.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001674/0.33, allocations: 115.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.3301, allocations: 31.98 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3301, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.3301, allocations: 15.94 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3302, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.3305, allocations: 133.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.3306, allocations: 71.45 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.3306, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.3306, allocations: 15.42 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3306, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Templates: time 0.003421/0.334, allocations: 0.9189 MB / 1.332 GB, free: 12.02 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.76187604200095]