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.0009971/0.0009971, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001359/0.001359, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9485/0.9485, allocations: 177.1 MB / 203.7 MB, free: 5.504 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 2.272/2.272, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.271e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001856/0.001889, allocations: 0.5516 MB / 0.8902 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.002394, allocations: 183.5 kB / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.002421, allocations: 0 / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.002449, allocations: 0 / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.002493, allocations: 3.938 kB / 0.8904 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.002917, allocations: 71.69 kB / 0.8905 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.00297, allocations: 11.98 kB / 0.8905 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.003007, allocations: 4 kB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.003045, allocations: 11.98 kB / 0.8905 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.003075, allocations: 7.922 kB / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.00309, allocations: 4 kB / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.003353, allocations: 155.7 kB / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.003391, allocations: 4 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.003406, allocations: 3.984 kB / 0.8907 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.003575, allocations: 91.67 kB / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003578, allocations: 0 / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003579, allocations: 4 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003583, allocations: 0 / 0.8908 GB, free: 8.695 MB / 0.8542 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.0003474/0.00393, allocations: 376.5 kB / 0.8911 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.003976, allocations: 8.031 kB / 0.8911 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.004007, allocations: 4.938 kB / 0.8912 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.004094, allocations: 112.6 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.004111, allocations: 4.375 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.004129, allocations: 384 / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.004219, allocations: 63.95 kB / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.004227, allocations: 192 / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.004233, allocations: 384 / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004239, allocations: 384 / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.201e-05/0.004251, allocations: 15.88 kB / 0.8913 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.004371, allocations: 93.27 kB / 0.8914 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.004413, allocations: 31.08 kB / 0.8915 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.004429, allocations: 15.75 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.004473, allocations: 4 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.0045, allocations: 33.39 kB / 0.8915 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004501, allocations: 0 / 0.8915 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000376/0.004877, allocations: 189.7 kB / 0.8917 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.004905, allocations: 59.61 kB / 0.8917 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.004982, allocations: 161.9 kB / 0.8919 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004994, allocations: 29.64 kB / 0.8919 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.005042, allocations: 142.8 kB / 0.8921 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.005065, allocations: 3.953 kB / 0.8921 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.005098, allocations: 23.36 kB / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.005228, allocations: 0.4961 MB / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.005239, allocations: 0 / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.005262, allocations: 19.38 kB / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.005301, allocations: 31.36 kB / 0.8926 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005303, allocations: 0 / 0.8926 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.005377, allocations: 57.58 kB / 0.8927 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.005391, allocations: 4 kB / 0.8927 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.005396, allocations: 0 / 0.8927 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.00541, allocations: 4 kB / 0.8927 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.00546, allocations: 4 kB / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.005465, allocations: 3.984 kB / 0.8927 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.005482, allocations: 7.938 kB / 0.8927 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005488, allocations: 0 / 0.8927 GB, free: 6.477 MB / 0.8542 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 7.118e-05/0.005559, allocations: 164.6 kB / 0.8929 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.005571, allocations: 4 kB / 0.8929 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.005674, allocations: 53.69 kB / 0.8929 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.005675, allocations: 0 / 0.8929 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005677, allocations: 0 / 0.8929 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.00568, allocations: 0 / 0.8929 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/0.005765, allocations: 105.4 kB / 0.893 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.005766, allocations: 0 / 0.893 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.005804, allocations: 4 kB / 0.893 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.005807, allocations: 3.984 kB / 0.893 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005814, allocations: 8 kB / 0.893 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005815, allocations: 0 / 0.893 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005816, allocations: 0 / 0.893 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.005923, allocations: 96.25 kB / 0.8931 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.005929, allocations: 0 / 0.8931 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.005942, allocations: 0 / 0.8931 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.005975, allocations: 8 kB / 0.8931 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.005985, allocations: 0 / 0.8931 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.005989, allocations: 0 / 0.8931 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.00603, allocations: 139.1 kB / 0.8933 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.00603, allocations: 0 / 0.8933 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001413/0.006172, allocations: 23.97 kB / 0.8933 GB, free: 5.805 MB / 0.8542 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.0001325/0.006304, allocations: 119.2 kB / 0.8934 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.488e-05/0.006359, allocations: 19.62 kB / 0.8934 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.006363, allocations: 4 kB / 0.8934 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.006376, allocations: 19.66 kB / 0.8934 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.006478, allocations: 3.938 kB / 0.8934 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.006663, allocations: 122.4 kB / 0.8936 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.006689, allocations: 59.34 kB / 0.8936 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.006708, allocations: 8.672 kB / 0.8936 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.006745, allocations: 70.2 kB / 0.8937 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.006746, allocations: 0 / 0.8937 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.002396/0.009141, allocations: 1.041 MB / 0.8947 GB, free: 4.281 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.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: 5.013151551131159]