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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.474/2.474, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7971, allocations: 140.4 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001768/0.7989, allocations: 0.5123 MB / 0.9501 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004802/0.7994, allocations: 192.1 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.7994, allocations: 1.375 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.7995, allocations: 4 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.7995, allocations: 1.375 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.7999, allocations: 67.03 kB / 0.9503 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.456e-05/0.8, allocations: 5.5 kB / 0.9503 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.8, allocations: 5.359 kB / 0.9503 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.8, allocations: 6.75 kB / 0.9503 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.8001, allocations: 5.312 kB / 0.9503 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.8001, allocations: 1.375 kB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.8003, allocations: 132 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.8004, allocations: 14.73 kB / 0.9505 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.8004, allocations: 5.312 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.8005, allocations: 73.95 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8005, allocations: 0 / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8006, allocations: 3.938 kB / 0.9506 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8006, allocations: 0 / 0.9506 GB, free: 8.336 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.0002836/0.8009, allocations: 341.8 kB / 0.9509 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.8009, allocations: 9.625 kB / 0.9509 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.8009, allocations: 6.219 kB / 0.9509 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.801, allocations: 163.1 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.801, allocations: 4.375 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.8011, allocations: 1.75 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.8012, allocations: 41.06 kB / 0.9511 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8012, allocations: 1.562 kB / 0.9511 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8012, allocations: 7.938 kB / 0.9511 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.8012, allocations: 0 / 0.9511 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.8012, allocations: 12.23 kB / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.8014, allocations: 161.9 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.8014, allocations: 26.83 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.8014, allocations: 10.36 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.8015, allocations: 6.734 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.8015, allocations: 39.88 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.8015, allocations: 0 / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004987/0.802, allocations: 308.6 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.8021, allocations: 56.41 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.8021, allocations: 108.5 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.8021, allocations: 25.7 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.8022, allocations: 86.7 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.8022, allocations: 5.375 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.8022, allocations: 21.27 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.8023, allocations: 316 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.8023, allocations: 13.66 kB / 0.9523 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.8023, allocations: 24.42 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.8024, allocations: 46.73 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.8024, allocations: 0 / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.36e-05/0.8025, allocations: 65.81 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.8025, allocations: 11.78 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8025, allocations: 4.062 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8025, allocations: 1.344 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.8026, allocations: 14.11 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8026, allocations: 1.375 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.8026, allocations: 0 / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.8026, allocations: 1.281 kB / 0.9524 GB, free: 6.391 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.206e-05/0.8027, allocations: 110.1 kB / 0.9525 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.8027, allocations: 5.375 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.8028, allocations: 74.3 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8028, allocations: 9.219 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.8029, allocations: 0 / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8029, allocations: 1.469 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.8029, allocations: 164.8 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8029, allocations: 0.7188 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.803, allocations: 12.8 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.803, allocations: 5.281 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.803, allocations: 0 / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.803, allocations: 1.219 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.803, allocations: 0 / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.8032, allocations: 111.2 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.8032, allocations: 78.48 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.8032, allocations: 5.312 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.8033, allocations: 0 / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8033, allocations: 6.5 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.8033, allocations: 5.438 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.8033, allocations: 90.06 kB / 0.9531 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8033, allocations: 4.062 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002215/0.8036, allocations: 20.31 kB / 0.9531 GB, free: 5.707 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.0001642/0.8037, allocations: 123.9 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.8039, allocations: 35.62 kB / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8039, allocations: 0 / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.8039, allocations: 11.62 kB / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.8041, allocations: 1.375 kB / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.8043, allocations: 136.2 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.8045, allocations: 0.6836 MB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.8045, allocations: 7.797 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.8045, allocations: 9.875 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8045, allocations: 0 / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.003691/0.8082, allocations: 0.8911 MB / 0.955 GB, free: 4.301 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