Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002098/0.002098, 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.002323/0.002323, allocations: 196.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.567/2.567, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.181/5.181, allocations: 461.9 MB / 0.7343 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 63.02 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6926, allocations: 157.4 MB / 1.052 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002853/0.6955, allocations: 0.5839 MB / 1.053 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.6964, allocations: 203.3 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.6964, allocations: 0 / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.6965, allocations: 0 / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.6965, allocations: 0 / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.6971, allocations: 55.88 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.6972, allocations: 7.984 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.6973, allocations: 4 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.6973, allocations: 7.938 kB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.6974, allocations: 8 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.6974, allocations: 0 / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.6978, allocations: 135.8 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.6979, allocations: 8 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.6979, allocations: 7.938 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.6982, allocations: 67.83 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6982, allocations: 3.938 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.604e-06/0.6982, allocations: 0 / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6982, allocations: 0 / 1.053 GB, free: 7.633 MB / 0.8106 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.0005865/0.6988, allocations: 343.7 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.6989, allocations: 12.62 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.699, allocations: 34.75 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.699, allocations: 4.875 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.6993, allocations: 180.2 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.6993, allocations: 384 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.6993, allocations: 384 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.6995, allocations: 42.2 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6995, allocations: 3.938 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6995, allocations: 3.984 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6996, allocations: 4 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.6996, allocations: 8 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.6999, allocations: 157.7 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.7, allocations: 26.59 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.7001, allocations: 16.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.7001, allocations: 4 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.7002, allocations: 38.56 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.7002, allocations: 3.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0008407/0.7011, allocations: 294.2 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.7011, allocations: 55.41 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.7013, allocations: 109.8 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.7013, allocations: 25.7 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.7014, allocations: 84.36 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.7015, allocations: 23.73 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.7015, allocations: 13.72 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.7018, allocations: 314.8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.7018, allocations: 15.98 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.7019, allocations: 29.7 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.702, allocations: 41.66 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.702, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001807/0.7022, allocations: 65.67 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7022, allocations: 7.938 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7022, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.7023, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.7024, allocations: 4 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.7024, allocations: 3.938 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.7024, allocations: 4 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.7024, allocations: 3.938 kB / 1.055 GB, free: 5.398 MB / 0.8106 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 0.0001284/0.7026, allocations: 123.4 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.7026, allocations: 8.016 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.7028, allocations: 73.56 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7029, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7029, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7029, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.7031, allocations: 161.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7031, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.7032, allocations: 15.92 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.7032, allocations: 3.938 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7032, allocations: 4 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7032, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7033, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.7035, allocations: 105 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.7036, allocations: 81.05 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.7036, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.7037, allocations: 8.062 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.7037, allocations: 7.984 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.7037, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.7038, allocations: 87.27 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7038, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004347/0.7043, allocations: 20 kB / 1.056 GB, free: 4.605 MB / 0.8106 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.0007665/0.7051, allocations: 0.667 MB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.7052, allocations: 27.98 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7053, allocations: 7.938 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.7053, allocations: 15.98 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.7056, allocations: 9.625 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.7074, allocations: 1.253 MB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.7078, allocations: 0.6806 MB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.7078, allocations: 4 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.7079, allocations: 15.44 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.7079, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08151/0.7894, allocations: 1.768 MB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005475/0.7901, allocations: 236.9 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.496/5.286, allocations: 0 / 1.061 GB, free: 15.92 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches