Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001096/0.001096, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.00254, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00102/0.00102, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002276, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9281/0.9281, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09144/1.02, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.75/1.75, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4616/2.212, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.662e-05, allocations: 3.656 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00143/0.001447, allocations: 0.5688 MB / 0.7299 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003802/0.001827, allocations: 189.7 kB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.001844, allocations: 0 / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.001863, allocations: 5.406 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.185e-05/0.001885, allocations: 1.094 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.002196, allocations: 56.34 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.002259, allocations: 18.84 kB / 0.7301 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.002298, allocations: 4.75 kB / 0.7301 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.002349, allocations: 8.984 kB / 0.7301 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.002399, allocations: 13.28 kB / 0.7302 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002413, allocations: 0 / 0.7302 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.002723, allocations: 157.5 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.002754, allocations: 6.297 kB / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.00277, allocations: 5.75 kB / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.002934, allocations: 69.44 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.002952, allocations: 3.984 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002952, allocations: 1.438 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.002969, allocations: 0 / 0.7304 GB, free: 3.477 MB / 0.698 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.0003311/0.0033, allocations: 249.5 kB / 0.7306 GB, free: 3.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.003334, allocations: 16.02 kB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.003363, allocations: 1.594 kB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.003452, allocations: 106.5 kB / 0.7307 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003463, allocations: 384 / 0.7307 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.003486, allocations: 8.828 kB / 0.7308 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.003578, allocations: 64.56 kB / 0.7308 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003587, allocations: 4.172 kB / 0.7308 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.003594, allocations: 1.25 kB / 0.7308 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003599, allocations: 384 / 0.7308 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.003616, allocations: 7.875 kB / 0.7308 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.003721, allocations: 75.45 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.00377, allocations: 23.33 kB / 0.7309 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.003784, allocations: 4.859 kB / 0.7309 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.003841, allocations: 8.047 kB / 0.7309 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.003869, allocations: 39.44 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.00387, allocations: 0.6562 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005175/0.004388, allocations: 257.5 kB / 0.7312 GB, free: 2.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.004423, allocations: 60.97 kB / 0.7313 GB, free: 2.414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.004491, allocations: 110.7 kB / 0.7314 GB, free: 2.293 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004502, allocations: 26.58 kB / 0.7314 GB, free: 2.262 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.004528, allocations: 80.14 kB / 0.7315 GB, free: 2.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.004551, allocations: 15.89 kB / 0.7315 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.004584, allocations: 22.92 kB / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.00467, allocations: 314.8 kB / 0.7318 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.004684, allocations: 6.828 kB / 0.7318 GB, free: 1.812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.004706, allocations: 22.5 kB / 0.7319 GB, free: 1.785 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.004744, allocations: 24.34 kB / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.004745, allocations: 0.875 kB / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.796e-05/0.004813, allocations: 52.84 kB / 0.7319 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.004826, allocations: 4 kB / 0.7319 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004831, allocations: 0 / 0.7319 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.00484, allocations: 0.6875 kB / 0.7319 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.004891, allocations: 8 kB / 0.7319 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.004895, allocations: 5.766 kB / 0.7319 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.004911, allocations: 4 kB / 0.7319 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.004918, allocations: 8.641 kB / 0.732 GB, free: 1.668 MB / 0.698 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.923e-05/0.004977, allocations: 112.7 kB / 0.7321 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.004988, allocations: 5.219 kB / 0.7321 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/0.005082, allocations: 45.69 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005084, allocations: 0 / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005086, allocations: 2.062 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.00509, allocations: 3.984 kB / 0.7321 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.005167, allocations: 74.59 kB / 0.7322 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005169, allocations: 0 / 0.7322 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.005215, allocations: 8 kB / 0.7322 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.005223, allocations: 4.734 kB / 0.7322 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005224, allocations: 0 / 0.7322 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.005229, allocations: 0.8125 kB / 0.7322 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.00523, allocations: 0 / 0.7322 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.005231, allocations: 4.484 kB / 0.7322 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.005331, allocations: 79.56 kB / 0.7323 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.005341, allocations: 1.984 kB / 0.7323 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.005371, allocations: 3.984 kB / 0.7323 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.005382, allocations: 3.984 kB / 0.7323 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.005388, allocations: 8.875 kB / 0.7323 GB, free: 1.266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.769e-05/0.005406, allocations: 8.859 kB / 0.7323 GB, free: 1.254 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.005406, allocations: 1.281 kB / 0.7323 GB, free: 1.254 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001751/0.005581, allocations: 23.92 kB / 0.7323 GB, free: 1.23 MB / 0.698 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.0001495/0.005731, allocations: 105.4 kB / 0.7324 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.005797, allocations: 20.78 kB / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.005801, allocations: 1.312 kB / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.005815, allocations: 8.859 kB / 0.7325 GB, free: 1.086 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.227e-05/0.005888, allocations: 8.531 kB / 0.7325 GB, free: 1.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.006138, allocations: 132.3 kB / 0.7326 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.006171, allocations: 59.34 kB / 0.7327 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.006197, allocations: 4.766 kB / 0.7327 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.006241, allocations: 51.38 kB / 0.7327 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/0.006242, allocations: 0 / 0.7327 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of Templates: time 0.003347/0.009588, allocations: 1.064 MB / 0.7337 GB, free: 15.77 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.634509222581983]