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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 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.001632/0.001632, allocations: 197.9 kB / 16.54 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 67.84 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7745, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001863/0.7764, allocations: 0.517 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.777, allocations: 199.3 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.777, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.7771, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.7771, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.7776, allocations: 59.8 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.7777, allocations: 7.984 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.7777, allocations: 15.98 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.7777, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.7778, allocations: 7.938 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.7778, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.7781, allocations: 127.8 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.7781, allocations: 11.98 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.7781, allocations: 3.938 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.7783, allocations: 75.83 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7783, allocations: 4 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7784, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7784, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.7637 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.0004408/0.7788, allocations: 345.4 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7789, allocations: 8.031 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.7789, allocations: 4.938 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.779, allocations: 160.4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7791, allocations: 4.312 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.7791, allocations: 8.281 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.7792, allocations: 46.19 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7793, allocations: 192 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7793, allocations: 7.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.7793, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.7793, allocations: 11.98 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.7795, allocations: 161.6 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.7796, allocations: 22.58 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.7796, allocations: 16.91 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.7797, allocations: 7.984 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.7797, allocations: 38.5 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7797, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0006292/0.7804, allocations: 302.2 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.7804, allocations: 51.62 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7805, allocations: 113.8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.7806, allocations: 29.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.7806, allocations: 80.14 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7806, allocations: 11.91 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.7807, allocations: 17.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7808, allocations: 314.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.7809, allocations: 8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.7809, allocations: 33.73 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.117e-05/0.781, allocations: 45.64 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.781, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.555e-05/0.7811, allocations: 65.59 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7811, allocations: 11.94 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7811, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7811, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.7812, allocations: 19.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7812, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.7812, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.7812, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 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.92e-05/0.7813, allocations: 113.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.7814, allocations: 7.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.7815, allocations: 65.58 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.7815, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7815, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7815, allocations: 8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.7817, allocations: 169.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7817, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.7817, allocations: 11.88 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7818, allocations: 7.875 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.7818, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7818, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7818, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.7819, allocations: 113 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.782, allocations: 77.11 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.782, allocations: 7.969 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.7821, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.7821, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7821, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.7822, allocations: 83.58 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7822, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002092/0.7824, allocations: 24 kB / 1.021 GB, free: 14.47 MB / 0.7794 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.0001859/0.7826, allocations: 123.2 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.7827, allocations: 31.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7827, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.7827, allocations: 12 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.7829, allocations: 5.719 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.7832, allocations: 141.4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.7835, allocations: 0.6847 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.7836, allocations: 12.2 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.7836, allocations: 15.44 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7836, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.003678/0.7873, allocations: 0.8826 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches