Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_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.007639/0.007639, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001954/0.001954, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 62.34 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2746, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001787/0.2764, allocations: 0.5189 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000571/0.277, allocations: 191.8 kB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.2771, allocations: 0 / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.2771, allocations: 3.984 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.2772, allocations: 3.938 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.2776, allocations: 59.86 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.2777, allocations: 7.984 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.2777, allocations: 4 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.2778, allocations: 7.938 kB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.2778, allocations: 7.984 kB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2778, allocations: 0 / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.2781, allocations: 135.8 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.2781, allocations: 4 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.2782, allocations: 7.938 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2784, allocations: 72.05 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2784, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2784, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2784, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 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.0003851/0.2788, allocations: 339.3 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2788, allocations: 8.031 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.2789, allocations: 42.69 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.2789, allocations: 4.938 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2791, allocations: 176.2 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2791, allocations: 8.359 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2791, allocations: 384 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2792, allocations: 38.25 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2793, allocations: 7.875 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2793, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2793, allocations: 0 / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.2793, allocations: 8 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.2795, allocations: 161.7 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.597e-05/0.2796, allocations: 30.5 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.2796, allocations: 8.922 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.2797, allocations: 4.047 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2797, allocations: 38.56 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2797, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005955/0.2803, allocations: 302.2 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.2804, allocations: 51.41 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.2805, allocations: 113.8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2805, allocations: 29.7 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.2806, allocations: 88.12 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2806, allocations: 11.89 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2806, allocations: 17.94 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2808, allocations: 314.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.2808, allocations: 15.98 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.2808, allocations: 25.64 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.2809, allocations: 41.72 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2809, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001053/0.281, allocations: 77.56 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2811, allocations: 9.656 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2811, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2811, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.2812, allocations: 8 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2812, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.2812, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2812, allocations: 4 kB / 1.09 GB, free: 14.75 MB / 0.8575 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.598e-05/0.2813, allocations: 117.8 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.2813, allocations: 11.94 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.2815, allocations: 69.52 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2815, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2815, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2815, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2816, allocations: 161.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2817, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.2817, allocations: 7.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2817, allocations: 3.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.2817, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2817, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2818, allocations: 3.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.2819, allocations: 109.2 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.282, allocations: 85.08 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.282, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.2821, allocations: 3.984 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.2821, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2821, allocations: 8.062 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.2822, allocations: 87.27 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2822, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000228/0.2824, allocations: 20 kB / 1.091 GB, free: 13.94 MB / 0.8575 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.00052/0.2829, allocations: 0.6592 MB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.283, allocations: 39.97 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2831, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.2831, allocations: 12 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.2832, allocations: 7.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2844, allocations: 1.256 MB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.2846, allocations: 0.6807 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.2847, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.2847, allocations: 19.44 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2847, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.3046, allocations: 1.864 MB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.933, allocations: 12.16 kB / 1.095 GB, free: 9.391 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches