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.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.0008232/0.0008232, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007903/0.0007903, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8981/0.8981, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.289e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00114/0.001173, allocations: 0.5362 MB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.001593, allocations: 175.4 kB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.001614, allocations: 0 / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.001654, allocations: 0 / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.001701, allocations: 0 / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.002156, allocations: 71.7 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.00222, allocations: 11.98 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.002267, allocations: 0 / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.002307, allocations: 12 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.002339, allocations: 7.922 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.002358, allocations: 4 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.00257, allocations: 155.7 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.002619, allocations: 4 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.002637, allocations: 4 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.002804, allocations: 91.67 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.002808, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.358e-06/0.002812, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.002817, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 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.0003157/0.003132, allocations: 262.2 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.003177, allocations: 17.34 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.003211, allocations: 0.9375 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.003299, allocations: 113.7 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.003312, allocations: 4.375 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.003337, allocations: 4.375 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.003456, allocations: 59.95 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.003464, allocations: 192 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.003476, allocations: 8.359 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003482, allocations: 384 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.003509, allocations: 15.88 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.003638, allocations: 113.3 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.003697, allocations: 30.56 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.003715, allocations: 8.922 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.003763, allocations: 4 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.003788, allocations: 30.56 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003789, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000503/0.004292, allocations: 225.1 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.004325, allocations: 55.41 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.004392, allocations: 114 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.004401, allocations: 29.7 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.004438, allocations: 88.14 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.004463, allocations: 15.81 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.004491, allocations: 17.72 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.004571, allocations: 318.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.004589, allocations: 11.98 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.004615, allocations: 25.72 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.004659, allocations: 37.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.00466, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.406e-05/0.004734, allocations: 73.58 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004748, allocations: 11.98 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.004753, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.004765, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.00482, allocations: 8 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.004826, allocations: 3.938 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-06/0.004835, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.004841, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 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.0001579/0.004999, allocations: 113.8 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.005007, allocations: 12.05 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.005117, allocations: 65.62 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005119, allocations: 3.984 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.005124, allocations: 0 / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.005129, allocations: 3.938 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.082e-05/0.005199, allocations: 121.3 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.005202, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.005242, allocations: 4 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005243, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.00525, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.005251, allocations: 4 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005252, allocations: 0 / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005371, allocations: 112.9 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.005379, allocations: 12.19 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.005389, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.005425, allocations: 4 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.005439, allocations: 7.984 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.005443, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.005476, allocations: 91.2 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005476, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001409/0.005617, allocations: 20 kB / 1.004 GB, free: 9.418 MB / 0.9636 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.0001419/0.005759, allocations: 123.2 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.005838, allocations: 39.92 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00584, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.005855, allocations: 15.98 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.005974, allocations: 3.938 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.006233, allocations: 154.5 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.006285, allocations: 67.34 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.006304, allocations: 12.5 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.006305, allocations: 4.125 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of Templates: time 0.001978/0.008283, allocations: 0.8698 MB / 1.005 GB, free: 8.078 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.947935897856951]