Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_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.007412/0.007412, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002161/0.002161, allocations: 201.2 kB / 16.68 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.88 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2769, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001609/0.2786, allocations: 0.5173 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000493/0.2791, allocations: 197 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.2791, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2792, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.2792, allocations: 3.938 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.2796, allocations: 67.84 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.2796, allocations: 11.98 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.2796, allocations: 0 / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.2797, allocations: 11.94 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.031e-05/0.2797, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.2797, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.2799, allocations: 131.8 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.28, allocations: 11.98 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.28, allocations: 11.92 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2802, allocations: 71.77 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2802, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2802, allocations: 4 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2802, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 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.0003492/0.2806, allocations: 339.4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2806, allocations: 8.031 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.2806, allocations: 34.75 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.2807, allocations: 4.875 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2808, allocations: 176.3 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2808, allocations: 384 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2808, allocations: 4.312 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.2809, allocations: 42.27 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.281, allocations: 3.938 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.281, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.281, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.281, allocations: 15.97 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.2812, allocations: 157.7 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.2812, allocations: 26.55 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.2813, allocations: 20.91 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.2813, allocations: 8 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2813, allocations: 30.56 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2813, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000518/0.2819, allocations: 298.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2819, allocations: 51.41 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.282, allocations: 114 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.282, allocations: 29.7 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.2821, allocations: 84.14 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.2821, allocations: 15.89 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.2821, allocations: 13.72 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2823, allocations: 318.8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.2823, allocations: 11.98 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.2823, allocations: 29.66 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.2824, allocations: 41.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2824, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/0.2825, allocations: 65.62 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2825, allocations: 7.938 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2826, allocations: 3.984 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.2826, allocations: 4 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.2826, allocations: 4.062 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2826, allocations: 4.312 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.2827, allocations: 4 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2827, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 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.585e-05/0.2828, allocations: 113.8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2828, allocations: 7.891 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.2829, allocations: 85.38 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2829, allocations: 4 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2829, allocations: 3.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.283, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2831, allocations: 161.7 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2831, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.2831, allocations: 4 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2832, allocations: 7.938 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2832, allocations: 3.984 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2832, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2832, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2833, allocations: 109 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2834, allocations: 85 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2834, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.2834, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.2835, allocations: 8.016 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2835, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.2835, allocations: 83.28 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2835, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002141/0.2838, allocations: 23.98 kB / 1.224 GB, free: 10.29 MB / 0.9825 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.000496/0.2843, allocations: 0.6678 MB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.2844, allocations: 35.92 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2844, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.2844, allocations: 15.98 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2845, allocations: 3.156 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2856, allocations: 1.256 MB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2859, allocations: 0.6884 MB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.286, allocations: 4 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.286, allocations: 11.44 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.286, allocations: 0 / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3104, allocations: 1.873 MB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.991, allocations: 6.609 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches