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.00673/0.00673, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00132/0.00132, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.456/2.456, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.11 kB / 1.018 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001725/1.059, allocations: 0.5202 MB / 1.167 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005236/1.06, allocations: 197.3 kB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/1.06, allocations: 4 kB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/1.06, allocations: 3.938 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/1.06, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/1.06, allocations: 63.78 kB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/1.061, allocations: 8 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/1.061, allocations: 7.984 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/1.061, allocations: 3.984 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/1.061, allocations: 7.938 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/1.061, allocations: 0 / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/1.061, allocations: 135.8 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/1.061, allocations: 11.98 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/1.061, allocations: 7.938 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/1.061, allocations: 79.28 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.061, allocations: 0 / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.186e-06/1.061, allocations: 0 / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.061, allocations: 0 / 1.168 GB, free: 2.832 MB / 0.8887 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.0004164/1.062, allocations: 340.3 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.062, allocations: 8.031 kB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/1.062, allocations: 0.9375 kB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.062, allocations: 172.3 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.062, allocations: 4.375 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/1.062, allocations: 4.375 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/1.062, allocations: 38.25 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.062, allocations: 192 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.062, allocations: 7.938 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/1.062, allocations: 0 / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/1.062, allocations: 15.88 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/1.062, allocations: 161.7 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/1.062, allocations: 30.58 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/1.062, allocations: 8.922 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/1.062, allocations: 7.984 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.063, allocations: 30.56 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.063, allocations: 0 / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005795/1.063, allocations: 306.5 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/1.063, allocations: 55.34 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/1.063, allocations: 109.8 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/1.063, allocations: 25.7 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/1.063, allocations: 88.12 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/1.063, allocations: 11.91 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/1.063, allocations: 17.72 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.064, allocations: 314.8 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/1.064, allocations: 12 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/1.064, allocations: 29.7 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/1.064, allocations: 37.7 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.064, allocations: 0 / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.697e-05/1.064, allocations: 65.62 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.064, allocations: 12 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/1.064, allocations: 4 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/1.064, allocations: 0 / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/1.064, allocations: 8 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.064, allocations: 3.984 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/1.064, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.064, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 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.483e-05/1.064, allocations: 121.7 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/1.064, allocations: 11.89 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.064, allocations: 69.58 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.064, allocations: 0 / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.064, allocations: 192 / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.064, allocations: 0 / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/1.064, allocations: 173.6 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.064, allocations: 3.938 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/1.064, allocations: 8 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.064, allocations: 3.938 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.064, allocations: 4 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.064, allocations: 0 / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.064, allocations: 3.938 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/1.065, allocations: 109.1 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/1.065, allocations: 81.06 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/1.065, allocations: 3.969 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/1.065, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/1.065, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/1.065, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.698e-05/1.065, allocations: 91.27 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.065, allocations: 4.062 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002047/1.065, allocations: 19.94 kB / 1.17 GB, free: 15.85 MB / 0.9044 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.0001836/1.065, allocations: 119.2 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.065, allocations: 31.92 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.065, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/1.065, allocations: 15.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/1.065, allocations: 8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/1.066, allocations: 129.5 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/1.066, allocations: 0.6807 MB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.804e-05/1.066, allocations: 4.547 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/1.066, allocations: 7.438 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.066, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.003216/1.069, allocations: 0.9025 MB / 1.172 GB, free: 13.9 MB / 0.9044 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