Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001305/0.001305, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00157/0.00157, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.8 MB / 0.7714 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002043/0.002043, allocations: 68.11 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3786, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001722/0.3803, allocations: 0.5311 MB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005625/0.3809, allocations: 191.5 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3809, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.3809, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.381, allocations: 4 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.3814, allocations: 67.78 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.3815, allocations: 15.92 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3815, allocations: 7.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.3816, allocations: 4 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.3816, allocations: 11.97 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3816, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.3819, allocations: 171.7 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.382, allocations: 3.938 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.382, allocations: 15.92 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3822, allocations: 67.83 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3822, allocations: 3.938 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3822, allocations: 0 / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3822, allocations: 0 / 1.286 GB, free: 10.2 MB / 0.9825 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.0004609/0.3827, allocations: 266.2 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3827, allocations: 12.03 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3827, allocations: 4.891 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3828, allocations: 110.5 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.3829, allocations: 4.312 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3829, allocations: 384 / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.383, allocations: 38.27 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.383, allocations: 192 / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.383, allocations: 11.92 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.383, allocations: 8 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.3831, allocations: 8 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.3832, allocations: 128.8 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.3833, allocations: 30.5 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.3833, allocations: 8.922 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.3834, allocations: 8 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3834, allocations: 34.56 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3834, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.384, allocations: 229.1 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.384, allocations: 51.41 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.3841, allocations: 113.8 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3841, allocations: 25.7 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.3842, allocations: 80.14 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3842, allocations: 20.16 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3843, allocations: 9.719 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3844, allocations: 318.8 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.3844, allocations: 11.98 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.3845, allocations: 29.7 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.3845, allocations: 41.64 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3845, allocations: 4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.3846, allocations: 81.44 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3847, allocations: 11.94 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3847, allocations: 0 / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3847, allocations: 0 / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.3847, allocations: 8 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3847, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.3848, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3848, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 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 9.377e-05/0.3849, allocations: 117.9 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3849, allocations: 11.92 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.3851, allocations: 69.61 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3851, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3851, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3851, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3853, allocations: 136.8 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3853, allocations: 0 / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.3853, allocations: 4 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3853, allocations: 7.938 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3853, allocations: 3.984 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3853, allocations: 0 / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3853, allocations: 0 / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3855, allocations: 105.1 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.3855, allocations: 0 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3855, allocations: 15.97 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.3856, allocations: 0 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.3856, allocations: 11.98 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3856, allocations: 4 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.3857, allocations: 83.28 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3857, allocations: 0 / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002115/0.3859, allocations: 23.92 kB / 1.288 GB, free: 7.641 MB / 0.9825 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.0001695/0.3861, allocations: 115.2 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.3862, allocations: 31.98 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3862, allocations: 128 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.3862, allocations: 23.92 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3864, allocations: 3.938 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.3867, allocations: 167.2 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3871, allocations: 0.6807 MB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.3871, allocations: 7.438 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3871, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.002678/0.3898, allocations: 0.8561 MB / 1.29 GB, free: 5.699 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.658833972003777]