Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001819, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 192.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.2 MB / 0.6643 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8549, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00186/0.8568, allocations: 0.5766 MB / 0.9497 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.8573, allocations: 188.6 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.8574, allocations: 4 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.8574, allocations: 1.375 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.8575, allocations: 3.938 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.8579, allocations: 51.17 kB / 0.9499 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.858, allocations: 18.84 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.858, allocations: 1.375 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.858, allocations: 2.75 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.8581, allocations: 5.312 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8581, allocations: 5.312 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.8583, allocations: 136.1 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.8584, allocations: 6.734 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.8584, allocations: 6.688 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8586, allocations: 72.58 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8586, allocations: 0 / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8586, allocations: 1.375 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8586, allocations: 0 / 0.9501 GB, free: 8.363 MB / 0.7169 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.000308/0.8589, allocations: 336.4 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8589, allocations: 9.625 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.859, allocations: 6.219 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.8591, allocations: 171.1 kB / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8591, allocations: 384 / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.8591, allocations: 9.672 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.8592, allocations: 38.52 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8593, allocations: 192 / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8593, allocations: 7.922 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8593, allocations: 1.375 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.8593, allocations: 12.23 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.8595, allocations: 157.9 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.8595, allocations: 33.39 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.8596, allocations: 14.34 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.8596, allocations: 4.125 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.8596, allocations: 31.94 kB / 0.9509 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8596, allocations: 0 / 0.9509 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005834/0.8602, allocations: 320.5 kB / 0.9512 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.8603, allocations: 51.41 kB / 0.9513 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.8603, allocations: 108.5 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.8603, allocations: 27.05 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.8604, allocations: 81.33 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.8604, allocations: 9.656 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.8604, allocations: 17.7 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.8605, allocations: 320.3 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.8605, allocations: 12.7 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.8606, allocations: 33 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.8606, allocations: 38.2 kB / 0.9519 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.8606, allocations: 0 / 0.9519 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.05e-05/0.8607, allocations: 70.72 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8607, allocations: 13.06 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8608, allocations: 0 / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8608, allocations: 5.297 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.8608, allocations: 6.375 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8609, allocations: 0 / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.8609, allocations: 1.156 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.8609, allocations: 1.281 kB / 0.952 GB, free: 6.41 MB / 0.7169 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 5.528e-05/0.8609, allocations: 113.8 kB / 0.9521 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.861, allocations: 5.062 kB / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.8611, allocations: 75.27 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8611, allocations: 1.312 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8611, allocations: 0 / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8611, allocations: 3.984 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.8612, allocations: 162.5 kB / 0.9523 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8612, allocations: 0 / 0.9523 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.8613, allocations: 4.594 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.8613, allocations: 5.531 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.8613, allocations: 7.938 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8613, allocations: 1.625 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8613, allocations: 7.984 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.8615, allocations: 108.1 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.8615, allocations: 77.11 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.8615, allocations: 5.641 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.8616, allocations: 5.438 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.8616, allocations: 5.547 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.8616, allocations: 3.984 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.8616, allocations: 94.27 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8616, allocations: 1.312 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002094/0.8619, allocations: 15.94 kB / 0.9527 GB, free: 5.727 MB / 0.7169 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.000171/0.862, allocations: 119.1 kB / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.8622, allocations: 31.89 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8622, allocations: 3.938 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.8622, allocations: 12.38 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.8623, allocations: 6.125 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.8626, allocations: 145.5 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.8627, allocations: 0.6881 MB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.8628, allocations: 6.938 kB / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.8628, allocations: 10.31 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8628, allocations: 0 / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.003488/0.8663, allocations: 0.8859 MB / 0.9545 GB, free: 4.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches