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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002782/0.002782, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.717/2.717, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 0.8685 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7772, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001798/0.7791, allocations: 0.5933 MB / 1.017 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000558/0.7797, allocations: 199.4 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.7797, allocations: 3.938 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.7797, allocations: 4 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.7798, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.7801, allocations: 35.94 kB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.7802, allocations: 23.92 kB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.7802, allocations: 0 / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.7803, allocations: 11.92 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.7803, allocations: 4 kB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.7803, allocations: 0 / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.7805, allocations: 119.8 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.7806, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.7806, allocations: 19.81 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.7808, allocations: 63.89 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7808, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7808, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7808, allocations: 4 kB / 1.018 GB, free: 1.77 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.0003557/0.7812, allocations: 343.2 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7812, allocations: 12.03 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.7813, allocations: 0.9375 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.7814, allocations: 172.3 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7814, allocations: 4.375 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7814, allocations: 384 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.7815, allocations: 42.25 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7815, allocations: 192 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7816, allocations: 3.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7816, allocations: 3.984 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.7816, allocations: 11.94 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.7818, allocations: 161.7 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.7818, allocations: 30.56 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.7819, allocations: 12.92 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.7819, allocations: 4 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.782, allocations: 30.56 kB / 1.018 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.782, allocations: 0 / 1.018 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0005891/0.7826, allocations: 306.4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7826, allocations: 55.41 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.7827, allocations: 109.8 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7827, allocations: 29.7 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.7828, allocations: 84.12 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.7828, allocations: 7.906 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.7828, allocations: 17.66 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.783, allocations: 318.8 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.783, allocations: 15.98 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.783, allocations: 29.7 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.7831, allocations: 37.72 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.7831, allocations: 0 / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.518e-05/0.7832, allocations: 73.52 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7832, allocations: 7.938 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7832, allocations: 8.062 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7832, allocations: 0 / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7833, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.7833, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.7833, allocations: 0 / 1.02 GB, free: 15.59 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 7.864e-05/0.7834, allocations: 122.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.7834, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.7836, allocations: 73.58 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7836, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7836, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7836, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.7837, allocations: 165.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7837, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.7838, allocations: 7.984 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7838, allocations: 7.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.7838, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7838, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7838, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.784, allocations: 113 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.784, allocations: 77.11 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.784, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.7841, allocations: 3.984 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.7841, allocations: 4.266 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.7841, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.7842, allocations: 95.56 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7842, allocations: 64 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002046/0.7844, allocations: 24 kB / 1.02 GB, free: 14.79 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.0001784/0.7846, allocations: 111.2 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.7847, allocations: 39.91 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7847, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.7847, allocations: 15.98 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.7849, allocations: 12 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.7852, allocations: 151.2 kB / 1.02 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.7854, allocations: 0.6809 MB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.7854, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.7855, allocations: 11.44 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7855, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.00317/0.7886, allocations: 0.8763 MB / 1.022 GB, free: 12.83 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=480 -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