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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007832/0.007838, allocations: 101 kB / 15.73 MB, free: 6.004 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.001992/0.001992, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.636/2.636, allocations: 472.7 MB / 0.7453 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.88 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7919, allocations: 159.9 MB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001986/0.7939, allocations: 0.5195 MB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.7945, allocations: 193.3 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.7946, allocations: 0 / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.7946, allocations: 0 / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.7947, allocations: 3.984 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.7953, allocations: 59.8 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.7953, allocations: 11.98 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.7954, allocations: 8 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.7954, allocations: 3.938 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.7955, allocations: 11.92 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.7955, allocations: 0 / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.7957, allocations: 135.8 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.7958, allocations: 8 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.7958, allocations: 7.922 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.796, allocations: 72.81 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7961, allocations: 0 / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7961, allocations: 0 / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.7961, allocations: 0 / 1.226 GB, free: 12.4 MB / 0.9512 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.0003886/0.7965, allocations: 350 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7965, allocations: 8.031 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.7966, allocations: 30.75 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.7966, allocations: 4.938 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.7967, allocations: 168.3 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.7968, allocations: 4.375 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.7968, allocations: 8.25 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7969, allocations: 46.25 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7969, allocations: 7.938 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.7969, allocations: 0 / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7969, allocations: 0 / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.797, allocations: 8 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.7971, allocations: 157.7 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.7972, allocations: 26.59 kB / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.7972, allocations: 20.84 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.7973, allocations: 4 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.7973, allocations: 38.56 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7973, allocations: 0 / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005531/0.7979, allocations: 294.3 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.7979, allocations: 59.41 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.798, allocations: 105.8 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.798, allocations: 25.92 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.7981, allocations: 92.12 kB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.7981, allocations: 11.91 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.7981, allocations: 13.72 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.7982, allocations: 314.8 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.7983, allocations: 15.98 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.7983, allocations: 25.7 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.7984, allocations: 45.66 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7984, allocations: 0 / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.7985, allocations: 65.67 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7985, allocations: 11.88 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7985, allocations: 3.938 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7985, allocations: 4 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.7986, allocations: 4 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.7986, allocations: 0 / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.7986, allocations: 4.062 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.7987, allocations: 4 kB / 1.228 GB, free: 10.17 MB / 0.9512 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.283e-05/0.7987, allocations: 121.8 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.7988, allocations: 7.891 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.7989, allocations: 73.45 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7989, allocations: 4 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7989, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7989, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.7991, allocations: 161.7 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7991, allocations: 4 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.7991, allocations: 7.984 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.7992, allocations: 3.938 kB / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.7992, allocations: 4 kB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7992, allocations: 0 / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7992, allocations: 0 / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.7994, allocations: 101.1 kB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.7994, allocations: 93.03 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7994, allocations: 4.062 kB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.7995, allocations: 3.984 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.7995, allocations: 4 kB / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.7995, allocations: 3.938 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.7996, allocations: 91.27 kB / 1.229 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.7996, allocations: 0 / 1.229 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002291/0.7998, allocations: 16 kB / 1.229 GB, free: 9.371 MB / 0.9512 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.0004957/0.8003, allocations: 0.6634 MB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.8005, allocations: 39.89 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8005, allocations: 0 / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.8005, allocations: 12 kB / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.8007, allocations: 8 kB / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.8017, allocations: 1.26 MB / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.8019, allocations: 0.6807 MB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.8019, allocations: 4 kB / 1.231 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.802, allocations: 11.38 kB / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.802, allocations: 0 / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.8237, allocations: 1.879 MB / 1.233 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.533, allocations: 12.05 kB / 1.233 GB, free: 4.809 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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