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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003167/0.003167, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.71/1.71, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.098/3.098, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.73 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.248, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001931/1.25, allocations: 0.5208 MB / 1.279 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006236/1.251, allocations: 195.3 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/1.251, allocations: 1.094 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/1.251, allocations: 4 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/1.251, allocations: 5 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/1.251, allocations: 61.67 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/1.251, allocations: 11.34 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/1.251, allocations: 7.469 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/1.251, allocations: 6.125 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/1.251, allocations: 4.047 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/1.251, allocations: 1.062 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/1.252, allocations: 141.1 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/1.252, allocations: 8.203 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/1.252, allocations: 10.8 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/1.252, allocations: 77.52 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.252, allocations: 1.125 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.252, allocations: 0 / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.252, allocations: 0 / 1.28 GB, free: 11.17 MB / 0.9981 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.0004546/1.252, allocations: 335.9 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.252, allocations: 10.06 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/1.252, allocations: 5.188 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/1.252, allocations: 30.75 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/1.252, allocations: 19.7 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.253, allocations: 167.8 kB / 1.28 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/1.253, allocations: 1.562 kB / 1.28 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/1.253, allocations: 5.5 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/1.253, allocations: 39.89 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/1.253, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/1.253, allocations: 1.219 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.253, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/1.253, allocations: 14.77 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/1.253, allocations: 162.6 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/1.253, allocations: 27.86 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/1.253, allocations: 10.27 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/1.253, allocations: 8.844 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.253, allocations: 35.95 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/1.253, allocations: 0.75 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0007339/1.254, allocations: 303 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.254, allocations: 53.16 kB / 1.281 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.254, allocations: 112 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/1.254, allocations: 26.8 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/1.254, allocations: 85.88 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/1.254, allocations: 6.297 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/1.254, allocations: 19.53 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.254, allocations: 317.1 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/1.255, allocations: 12.08 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/1.255, allocations: 27.22 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/1.255, allocations: 37.98 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.255, allocations: 0 / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001376/1.255, allocations: 78.98 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.255, allocations: 6.125 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.255, allocations: 0 / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.255, allocations: 1.766 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/1.255, allocations: 7.219 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.255, allocations: 0.75 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/1.255, allocations: 0.8438 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.255, allocations: 10.19 kB / 1.282 GB, free: 9.234 MB / 0.9981 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.0001178/1.255, allocations: 118.5 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/1.255, allocations: 10.19 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/1.255, allocations: 66.77 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.255, allocations: 0.7969 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.255, allocations: 1.281 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.255, allocations: 3.938 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/1.255, allocations: 167.9 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.255, allocations: 1.281 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/1.256, allocations: 8.219 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.256, allocations: 1.703 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.256, allocations: 5.062 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.256, allocations: 4.797 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.256, allocations: 1.125 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/1.256, allocations: 107.5 kB / 1.282 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/1.256, allocations: 82.88 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.256, allocations: 1.812 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/1.256, allocations: 2.062 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/1.256, allocations: 2 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/1.256, allocations: 6.109 kB / 1.282 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.522e-05/1.256, allocations: 97.62 kB / 1.282 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.256, allocations: 0 / 1.282 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002341/1.256, allocations: 16.77 kB / 1.283 GB, free: 8.582 MB / 0.9981 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.0007496/1.257, allocations: 0.665 MB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001571/1.257, allocations: 31.61 kB / 1.283 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.257, allocations: 0.5625 kB / 1.283 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/1.257, allocations: 21.03 kB / 1.283 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/1.257, allocations: 9.516 kB / 1.283 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/1.259, allocations: 1.249 MB / 1.284 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/1.259, allocations: 0.6814 MB / 1.285 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.092e-05/1.259, allocations: 7.719 kB / 1.285 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/1.259, allocations: 15.05 kB / 1.285 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.259, allocations: 0 / 1.285 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/1.279, allocations: 1.922 MB / 1.287 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/9.731, allocations: 12.56 kB / 1.287 GB, free: 5.711 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.82990403700387]