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.0008438/0.0008438, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009226/0.0009226, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9163/0.9163, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.13 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.877e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001293/0.001322, allocations: 0.528 MB / 0.951 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000446/0.001768, allocations: 175.5 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.00179, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.001825, allocations: 0 / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.001873, allocations: 7.875 kB / 0.9512 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.002322, allocations: 67.77 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.002385, allocations: 12 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.002431, allocations: 0 / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.002471, allocations: 11.97 kB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.002502, allocations: 7.938 kB / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.002516, allocations: 0 / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.002718, allocations: 159.6 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.002766, allocations: 7.984 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.002784, allocations: 3.984 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.002949, allocations: 87.75 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002952, allocations: 4 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.373e-06/0.002953, allocations: 4 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.002957, allocations: 3.938 kB / 0.9515 GB, free: 2.449 MB / 0.9011 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.0004217/0.003379, allocations: 266.2 kB / 0.9518 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.003426, allocations: 8.031 kB / 0.9518 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.003456, allocations: 30.75 kB / 0.9518 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.003487, allocations: 8.938 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.003575, allocations: 117.7 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.003586, allocations: 384 / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.003608, allocations: 384 / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003733, allocations: 63.97 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.00374, allocations: 192 / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.00375, allocations: 8.359 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.003756, allocations: 4.125 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.003782, allocations: 15.92 kB / 0.952 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.003924, allocations: 132.8 kB / 0.9521 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.003976, allocations: 18.58 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.003999, allocations: 20.91 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.004041, allocations: 4 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.004065, allocations: 30.56 kB / 0.9522 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004066, allocations: 0 / 0.9522 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.004606, allocations: 229.2 kB / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.004639, allocations: 51.41 kB / 0.9525 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.004706, allocations: 117.7 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.004716, allocations: 25.7 kB / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.004752, allocations: 80.14 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.004778, allocations: 15.91 kB / 0.9527 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.004807, allocations: 17.7 kB / 0.9527 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.00489, allocations: 314.8 kB / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.004912, allocations: 12 kB / 0.953 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.004943, allocations: 25.92 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.004994, allocations: 45.7 kB / 0.9531 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004995, allocations: 0 / 0.9531 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.72e-05/0.005072, allocations: 65.62 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.005086, allocations: 4 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.005093, allocations: 0 / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.00511, allocations: 7.938 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.005181, allocations: 7.984 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.005187, allocations: 0 / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.005199, allocations: 8.062 kB / 0.9532 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.005206, allocations: 0 / 0.9532 GB, free: 500 kB / 0.9011 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 6.463e-05/0.005271, allocations: 121.8 kB / 0.9533 GB, free: 368 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.00528, allocations: 3.953 kB / 0.9533 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.005405, allocations: 69.98 kB / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.005409, allocations: 7.875 kB / 0.9534 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.005413, allocations: 0 / 0.9534 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.005416, allocations: 0 / 0.9534 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.142e-05/0.005497, allocations: 136.7 kB / 0.9535 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.005499, allocations: 0 / 0.9535 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.005545, allocations: 15.98 kB / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005547, allocations: 0 / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.005553, allocations: 0 / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.005556, allocations: 7.938 kB / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005557, allocations: 0 / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.005705, allocations: 105 kB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.005713, allocations: 3.953 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.005726, allocations: 4.266 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.005771, allocations: 11.92 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.005784, allocations: 0 / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.005792, allocations: 11.98 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.005823, allocations: 91.25 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005823, allocations: 0 / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001648/0.005988, allocations: 23.94 kB / 0.9538 GB, free: 15.8 MB / 0.9167 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.0003736/0.006362, allocations: 0.6554 MB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.404e-05/0.006456, allocations: 31.98 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006458, allocations: 0 / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.006472, allocations: 12 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.006601, allocations: 7.875 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.007455, allocations: 1.255 MB / 0.9557 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.007506, allocations: 67.25 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.007534, allocations: 4 kB / 0.9558 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.00757, allocations: 20.48 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.007571, allocations: 0 / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.02954, allocations: 2.511 MB / 0.9582 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.271, allocations: 11.8 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.457787591032684]