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.001089/0.001089, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.002588, allocations: 435.8 kB / 10.33 MB, free: 368 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.001025/0.001025, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.00228, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9996/0.9996, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.092, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.34/2.34, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2798/2.62, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.603e-06/1.603e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.692e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002048/0.002075, allocations: 0.5742 MB / 0.8188 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.002459, allocations: 191.3 kB / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.002481, allocations: 8 kB / 0.819 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.002502, allocations: 0 / 0.819 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.28e-05/0.002525, allocations: 0 / 0.819 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.002871, allocations: 55.72 kB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.002934, allocations: 8 kB / 0.8191 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.002981, allocations: 11.92 kB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.003038, allocations: 7.984 kB / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.003075, allocations: 7.984 kB / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.00309, allocations: 0 / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.003412, allocations: 163.7 kB / 0.8193 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.003447, allocations: 3.938 kB / 0.8193 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.003462, allocations: 4 kB / 0.8193 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.003646, allocations: 67.8 kB / 0.8194 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.01e-05/0.003666, allocations: 0 / 0.8194 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003667, allocations: 3.938 kB / 0.8194 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.003687, allocations: 0 / 0.8194 GB, free: 1.824 MB / 0.7917 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.0004144/0.004102, allocations: 252.5 kB / 0.8196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.004151, allocations: 12.03 kB / 0.8196 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.004187, allocations: 4.922 kB / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.004308, allocations: 121.7 kB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.004321, allocations: 384 / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.004347, allocations: 8.375 kB / 0.8197 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.004455, allocations: 62.78 kB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.004466, allocations: 4.172 kB / 0.8198 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004475, allocations: 384 / 0.8198 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.004482, allocations: 4.312 kB / 0.8198 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.004502, allocations: 3.938 kB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.004633, allocations: 70.66 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.056e-05/0.004694, allocations: 18.61 kB / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.00471, allocations: 12.86 kB / 0.8199 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.004769, allocations: 4.062 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.004801, allocations: 38.55 kB / 0.8199 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004802, allocations: 0 / 0.8199 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0006228/0.005425, allocations: 260 kB / 0.8202 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.005462, allocations: 51.41 kB / 0.8202 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.005539, allocations: 110.7 kB / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.005552, allocations: 25.92 kB / 0.8204 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.005584, allocations: 88.14 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.005614, allocations: 7.953 kB / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.005648, allocations: 17.7 kB / 0.8205 GB, free: 484 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.005761, allocations: 318.8 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.005773, allocations: 6.828 kB / 0.8208 GB, free: 148 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.005794, allocations: 13.72 kB / 0.8208 GB, free: 128 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.005842, allocations: 35.28 kB / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.005843, allocations: 0 / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.4e-05/0.005927, allocations: 55.34 kB / 0.8209 GB, free: 20 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.005943, allocations: 7.938 kB / 0.8209 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005948, allocations: 0 / 0.8209 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005961, allocations: 4 kB / 0.8209 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.006025, allocations: 7.938 kB / 0.8209 GB, free: 0 / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006029, allocations: 0 / 0.8209 GB, free: 0 / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.006068, allocations: 4.047 kB / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.006076, allocations: 4.25 kB / 0.8209 GB, free: 15.99 MB / 0.8073 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.185e-05/0.006148, allocations: 112.6 kB / 0.821 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.00616, allocations: 4 kB / 0.821 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.006262, allocations: 57.69 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006264, allocations: 0 / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006266, allocations: 0 / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.006271, allocations: 4 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.006358, allocations: 73.83 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.00636, allocations: 0 / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.006412, allocations: 11.94 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-06/0.006419, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006422, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.006431, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.006435, allocations: 7.984 kB / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.006439, allocations: 8 kB / 0.8212 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.006559, allocations: 74.94 kB / 0.8213 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.006572, allocations: 3.984 kB / 0.8213 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.006602, allocations: 0 / 0.8213 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.006619, allocations: 7.984 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.006623, allocations: 0 / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.006641, allocations: 12.86 kB / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.006641, allocations: 0 / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002094/0.006851, allocations: 19.94 kB / 0.8213 GB, free: 15.54 MB / 0.8073 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.00021/0.007061, allocations: 112.3 kB / 0.8214 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.007135, allocations: 16.84 kB / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.00714, allocations: 4 kB / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.007155, allocations: 8.859 kB / 0.8214 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.119e-05/0.007246, allocations: 7.938 kB / 0.8214 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.007513, allocations: 142.1 kB / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.00755, allocations: 55.36 kB / 0.8216 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.007577, allocations: 7.984 kB / 0.8216 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.007628, allocations: 51.38 kB / 0.8217 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/0.007629, allocations: 4.125 kB / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of Templates: time 0.003858/0.01149, allocations: 1.04 MB / 0.8227 GB, free: 14.04 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck/Buildings_latest_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: 5.207745854742825]