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.001913/0.001913, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.002143/0.002143, allocations: 168.7 kB / 22.46 MB, free: 5.359 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.907/2.907, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] 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.504e-06/2.504e-06, allocations: 0 / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.502e-05, allocations: 6.219 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001685/0.00172, allocations: 0.5324 MB / 1.001 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005675/0.002288, allocations: 181.4 kB / 1.001 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.002308, allocations: 0 / 1.001 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.002346, allocations: 0 / 1.001 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.002389, allocations: 0 / 1.001 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.002859, allocations: 75.66 kB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.002921, allocations: 11.98 kB / 1.001 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.002975, allocations: 3.984 kB / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.003014, allocations: 4 kB / 1.001 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.003048, allocations: 7.984 kB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.003065, allocations: 4 kB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.003374, allocations: 159.6 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.003423, allocations: 4 kB / 1.001 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.003441, allocations: 0 / 1.001 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.003641, allocations: 91.69 kB / 1.001 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.003647, allocations: 4 kB / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.704e-06/0.003649, allocations: 0 / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.003654, allocations: 4 kB / 1.001 GB, free: 6.273 MB / 0.9512 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.000413/0.004067, allocations: 266.2 kB / 1.001 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.004114, allocations: 8.031 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.004152, allocations: 0.9375 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.00428, allocations: 109.8 kB / 1.002 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.004292, allocations: 384 / 1.002 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.004317, allocations: 4.375 kB / 1.002 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.00447, allocations: 71.89 kB / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.004479, allocations: 192 / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.00449, allocations: 4.375 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.004499, allocations: 4.359 kB / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.004529, allocations: 11.94 kB / 1.002 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.004704, allocations: 113.2 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.994e-05/0.004774, allocations: 22.61 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.0048, allocations: 12.91 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.00484, allocations: 4 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.004878, allocations: 38.56 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004879, allocations: 0 / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006269/0.005506, allocations: 225.2 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.005553, allocations: 55.41 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.005652, allocations: 113.7 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.005675, allocations: 29.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.005726, allocations: 84.14 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.005756, allocations: 11.94 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.005793, allocations: 17.7 kB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.005958, allocations: 322.8 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.00599, allocations: 19.92 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.006024, allocations: 25.94 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.006085, allocations: 41.7 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006085, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.997e-05/0.006185, allocations: 69.58 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.006209, allocations: 10.34 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006213, allocations: 0 / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.006232, allocations: 7.984 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.006301, allocations: 8 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.006308, allocations: 3.938 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.006324, allocations: 4.062 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.006332, allocations: 4 kB / 1.003 GB, free: 4.367 MB / 0.9512 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 8.556e-05/0.006418, allocations: 110.4 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.00643, allocations: 4 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.006587, allocations: 69.61 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.006589, allocations: 0 / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.006593, allocations: 0 / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.006603, allocations: 11.92 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.006714, allocations: 109.3 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006717, allocations: 7.984 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.006768, allocations: 4 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00677, allocations: 0 / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.006778, allocations: 0 / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006779, allocations: 3.938 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.006782, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.006964, allocations: 108.9 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.006973, allocations: 4.031 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.006988, allocations: 3.984 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.007036, allocations: 0 / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.007075, allocations: 4.234 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007079, allocations: 4.062 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.007141, allocations: 95.52 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.007141, allocations: 0 / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002183/0.007359, allocations: 19.94 kB / 1.003 GB, free: 3.746 MB / 0.9512 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.0002162/0.007575, allocations: 119.2 kB / 1.003 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.00769, allocations: 35.91 kB / 1.003 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007692, allocations: 0 / 1.003 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.007719, allocations: 19.98 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.007882, allocations: 0 / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.008203, allocations: 135.8 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.008272, allocations: 63.34 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.008297, allocations: 8.219 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.008319, allocations: 12.5 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.00832, allocations: 0 / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.004106/0.01243, allocations: 0.8983 MB / 1.005 GB, free: 2.414 MB / 0.9512 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: 8.446766380220652]