Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001275/0.001275, allocations: 117.6 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.001315/0.001315, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.737/2.737, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.386, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001754/0.3878, allocations: 0.5278 MB / 1.215 GB, free: 392 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.3884, allocations: 191.4 kB / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.3884, allocations: 0 / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.3884, allocations: 0 / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.3884, allocations: 11.94 kB / 1.215 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3889, allocations: 55.84 kB / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.3889, allocations: 23.86 kB / 1.215 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.389, allocations: 0 / 1.215 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.389, allocations: 7.984 kB / 1.215 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.389, allocations: 0 / 1.215 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.389, allocations: 0 / 1.215 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.3893, allocations: 139.8 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.3894, allocations: 15.86 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3894, allocations: 7.938 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3896, allocations: 75.77 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3896, allocations: 0 / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3896, allocations: 0 / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3896, allocations: 3.938 kB / 1.215 GB, free: 15.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004428/0.39, allocations: 343.3 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3901, allocations: 8.031 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3901, allocations: 0.9375 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3902, allocations: 168.3 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3903, allocations: 4.375 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3903, allocations: 4.375 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3904, allocations: 38.25 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3904, allocations: 4.188 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3904, allocations: 7.938 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3904, allocations: 0 / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.3905, allocations: 11.98 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.3907, allocations: 157.7 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.3907, allocations: 30.52 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.3907, allocations: 16.91 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.3908, allocations: 4 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3908, allocations: 30.56 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3908, allocations: 0 / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0006312/0.3915, allocations: 302.3 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3915, allocations: 55.62 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3916, allocations: 109.8 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3916, allocations: 29.7 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3917, allocations: 88.12 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3917, allocations: 7.906 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3917, allocations: 25.64 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3919, allocations: 314.8 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.3919, allocations: 19.92 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.392, allocations: 25.72 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.392, allocations: 37.7 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.392, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.3921, allocations: 65.62 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3922, allocations: 7.938 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3922, allocations: 4 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3922, allocations: 64 / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.3922, allocations: 11.98 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3922, allocations: 4 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.3923, allocations: 7.938 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3923, allocations: 0 / 1.217 GB, free: 13.67 MB / 0.9669 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 8.903e-05/0.3924, allocations: 109.8 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3924, allocations: 12.03 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.3925, allocations: 77.5 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3925, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3925, allocations: 4 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3925, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3927, allocations: 165.7 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3927, allocations: 0 / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.3927, allocations: 8 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3927, allocations: 3.938 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3928, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3928, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3928, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.3929, allocations: 113 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.393, allocations: 85.06 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.393, allocations: 3.938 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.3931, allocations: 4.031 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.3931, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3931, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.3931, allocations: 91.27 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3931, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002158/0.3934, allocations: 19.94 kB / 1.218 GB, free: 12.88 MB / 0.9669 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.0002149/0.3936, allocations: 123.2 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3937, allocations: 35.91 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3937, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.3937, allocations: 12 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.3939, allocations: 4 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3942, allocations: 163.1 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3945, allocations: 0.6847 MB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3946, allocations: 15.42 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.3946, allocations: 0 / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of Templates: time 0.00273/0.3973, allocations: 0.8404 MB / 1.219 GB, free: 10.94 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.264797520125285]