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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001514/0.001514, allocations: 216 kB / 22.25 MB, free: 5.254 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.491/3.491, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002149/0.002149, allocations: 69.66 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4373, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00185/0.4391, allocations: 0.532 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.4397, allocations: 179.9 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.4397, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.4397, allocations: 11.94 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.4398, allocations: 0 / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.4402, allocations: 59.84 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.4403, allocations: 19.91 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.4403, allocations: 4 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.4404, allocations: 3.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.4404, allocations: 4 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.4404, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.4407, allocations: 155.7 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.4408, allocations: 11.98 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.4408, allocations: 11.94 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.441, allocations: 67.78 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.441, allocations: 3.938 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.368e-06/0.441, allocations: 3.984 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.441, allocations: 0 / 1.365 GB, free: 12.54 MB / 1.061 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.0003931/0.4414, allocations: 262.2 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4414, allocations: 12.03 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.4414, allocations: 0.9375 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4416, allocations: 110.5 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4416, allocations: 384 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.4416, allocations: 4.375 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4417, allocations: 67.95 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4417, allocations: 192 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4418, allocations: 11.92 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4418, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.4418, allocations: 11.94 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.442, allocations: 113.3 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.442, allocations: 26.56 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.4421, allocations: 12.92 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.4421, allocations: 4 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4421, allocations: 38.56 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4421, allocations: 4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005618/0.4427, allocations: 221.1 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4428, allocations: 59.34 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4429, allocations: 109.8 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4429, allocations: 25.7 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.443, allocations: 84.14 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.443, allocations: 19.88 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.4431, allocations: 13.72 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4432, allocations: 319.1 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.4433, allocations: 19.92 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.4433, allocations: 25.72 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.4434, allocations: 37.7 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4434, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.4435, allocations: 65.62 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4435, allocations: 11.98 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4435, allocations: 0 / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4435, allocations: 3.938 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.4436, allocations: 12.06 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.4436, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 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.0001167/0.4438, allocations: 114.9 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.4438, allocations: 11.94 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.4439, allocations: 69.56 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.444, allocations: 3.984 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.444, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.444, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.4441, allocations: 121.3 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4441, allocations: 3.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.4442, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4442, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4442, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4442, allocations: 3.938 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4442, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.4444, allocations: 105 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.4444, allocations: 12.2 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4444, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.4445, allocations: 8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.4445, allocations: 11.98 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4445, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.4446, allocations: 87.27 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4446, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000234/0.4448, allocations: 23.94 kB / 1.367 GB, free: 9.996 MB / 1.061 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.0002343/0.445, allocations: 107.2 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4452, allocations: 39.86 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4452, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.4452, allocations: 20.11 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.4454, allocations: 0 / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.4458, allocations: 129.6 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.4458, allocations: 63.34 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.4459, allocations: 4 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.4459, allocations: 7.438 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4459, allocations: 0 / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of Templates: time 0.004599/0.4505, allocations: 0.9102 MB / 1.368 GB, free: 8.676 MB / 1.061 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: 9.783606868237257]