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.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.001941/0.001941, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001475/0.001475, allocations: 195.3 kB / 22.17 MB, free: 5.211 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.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001772/1.05, allocations: 0.5312 MB / 1.275 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005806/1.05, allocations: 199.3 kB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/1.05, allocations: 4 kB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/1.05, allocations: 0 / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/1.05, allocations: 0 / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/1.051, allocations: 67.78 kB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.159e-05/1.051, allocations: 15.98 kB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/1.051, allocations: 0 / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/1.051, allocations: 4 kB / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/1.051, allocations: 7.938 kB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/1.051, allocations: 0 / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/1.051, allocations: 139.8 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/1.051, allocations: 7.984 kB / 1.275 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/1.051, allocations: 11.92 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/1.051, allocations: 70.5 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.051, allocations: 0 / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/1.051, allocations: 0 / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.051, allocations: 4 kB / 1.275 GB, free: 3.484 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.0004366/1.052, allocations: 343.3 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.052, allocations: 8.031 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/1.052, allocations: 4.938 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/1.052, allocations: 168.3 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.052, allocations: 384 / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/1.052, allocations: 12.31 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/1.052, allocations: 42.19 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.052, allocations: 8.125 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.052, allocations: 3.938 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.052, allocations: 3.984 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/1.052, allocations: 11.98 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/1.052, allocations: 157.7 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/1.053, allocations: 26.58 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/1.053, allocations: 8.922 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/1.053, allocations: 11.98 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.053, allocations: 30.56 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/1.053, allocations: 3.938 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000633/1.053, allocations: 302.3 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.053, allocations: 51.41 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/1.053, allocations: 109.8 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.053, allocations: 29.92 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/1.054, allocations: 84.14 kB / 1.276 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/1.054, allocations: 11.91 kB / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/1.054, allocations: 17.72 kB / 1.276 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.054, allocations: 314.8 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/1.054, allocations: 8 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/1.054, allocations: 29.7 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.574e-05/1.054, allocations: 45.64 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/1.054, allocations: 0 / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/1.054, allocations: 61.69 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.054, allocations: 11.94 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.054, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.054, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/1.054, allocations: 11.98 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.054, allocations: 3.938 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/1.054, allocations: 4.062 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.054, allocations: 4 kB / 1.277 GB, free: 1.297 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.021e-05/1.054, allocations: 109.8 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/1.054, allocations: 11.89 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/1.054, allocations: 69.58 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.054, allocations: 0 / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.054, allocations: 3.938 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.054, allocations: 0 / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/1.055, allocations: 177.7 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.055, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/1.055, allocations: 7.938 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.055, allocations: 3.938 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/1.055, allocations: 3.938 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.055, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/1.055, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.055, allocations: 105.1 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/1.055, allocations: 81.12 kB / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.055, allocations: 11.97 kB / 1.277 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/1.055, allocations: 240 / 1.277 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/1.055, allocations: 0 / 1.277 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.055, allocations: 4 kB / 1.277 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.578e-05/1.055, allocations: 87.27 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002036/1.055, allocations: 19.94 kB / 1.278 GB, free: 0.5078 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.0002081/1.055, allocations: 123.7 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001101/1.055, allocations: 39.91 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.055, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/1.055, allocations: 12 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/1.056, allocations: 12.34 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/1.056, allocations: 145.8 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/1.056, allocations: 0.6845 MB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.454e-05/1.056, allocations: 4.547 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/1.056, allocations: 15.56 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.056, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of Templates: time 0.003755/1.06, allocations: 0.902 MB / 1.279 GB, free: 14.52 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 -s cvode -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_2/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: 9.264231040142477]