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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001372, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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 0.002028/0.002028, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9642, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001712/0.9659, allocations: 0.5365 MB / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.9665, allocations: 186.5 kB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.9665, allocations: 2.625 kB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.9665, allocations: 3.938 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.9666, allocations: 0.6875 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.967, allocations: 61.55 kB / 1.263 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.9671, allocations: 12.28 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.9672, allocations: 10.12 kB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.9672, allocations: 6.797 kB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.9672, allocations: 3.078 kB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.9672, allocations: 0.75 kB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.9675, allocations: 132.2 kB / 1.263 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.9676, allocations: 12.47 kB / 1.263 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.9676, allocations: 11 kB / 1.263 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.9678, allocations: 75.95 kB / 1.264 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9678, allocations: 0 / 1.264 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9678, allocations: 0.9375 kB / 1.264 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9678, allocations: 4.703 kB / 1.264 GB, free: 7.438 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.0003469/0.9682, allocations: 337.9 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.9682, allocations: 9.188 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.9683, allocations: 2.969 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.9684, allocations: 172.1 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.9684, allocations: 1.094 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.9684, allocations: 1.812 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.9686, allocations: 40.94 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9686, allocations: 4.188 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9686, allocations: 4.469 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.9686, allocations: 1 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.9686, allocations: 18.7 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.9688, allocations: 158 kB / 1.264 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.9688, allocations: 23.81 kB / 1.264 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.9689, allocations: 11.28 kB / 1.264 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.9689, allocations: 4.859 kB / 1.264 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.9689, allocations: 39.34 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9689, allocations: 0.75 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005517/0.9695, allocations: 295.8 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.9695, allocations: 52.89 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.9696, allocations: 108 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.9696, allocations: 31.5 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.9697, allocations: 90.41 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.9697, allocations: 14.39 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.9697, allocations: 14.81 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.9698, allocations: 317.1 kB / 1.265 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.9698, allocations: 15.2 kB / 1.265 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.9699, allocations: 27.69 kB / 1.265 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.9699, allocations: 45.67 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.9699, allocations: 0 / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.9701, allocations: 71.05 kB / 1.265 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9701, allocations: 10.22 kB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9701, allocations: 0 / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9701, allocations: 0.9062 kB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.9702, allocations: 7.828 kB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.9702, allocations: 0.75 kB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.9702, allocations: 5.031 kB / 1.265 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.9702, allocations: 6.469 kB / 1.265 GB, free: 5.551 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 5.685e-05/0.9703, allocations: 110.6 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.9703, allocations: 13.34 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.9705, allocations: 66.28 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.9705, allocations: 1.438 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9705, allocations: 0.8125 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9705, allocations: 0 / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.9706, allocations: 164.6 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9706, allocations: 4.562 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.9707, allocations: 5.609 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.9707, allocations: 4.719 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9707, allocations: 1.547 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9707, allocations: 0 / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9707, allocations: 1.266 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.9709, allocations: 107.9 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.9709, allocations: 79.83 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.9709, allocations: 12.69 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.971, allocations: 1.578 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.971, allocations: 6.641 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.971, allocations: 1.531 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.971, allocations: 84.8 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9711, allocations: 0.7188 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002234/0.9713, allocations: 25 kB / 1.266 GB, free: 4.91 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.0001872/0.9715, allocations: 123.4 kB / 1.266 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.9716, allocations: 39.39 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9716, allocations: 0.875 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.9716, allocations: 14.11 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.9718, allocations: 9.078 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.9721, allocations: 159.7 kB / 1.266 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.9722, allocations: 0.681 MB / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.9722, allocations: 14.5 kB / 1.267 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9722, allocations: 4.125 kB / 1.267 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.003048/0.9753, allocations: 0.8493 MB / 1.268 GB, free: 3.879 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.346247168956324]