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.0007611/0.0007611, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001892, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007208/0.0007208, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009178/0.001639, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9467/0.9467, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09092/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.825/1.825, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4576/2.282, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.843e-06/1.843e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.25e-05, allocations: 3.219 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001465/0.001488, allocations: 0.5897 MB / 0.7302 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.001848, allocations: 195 kB / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.001872, allocations: 0 / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.001895, allocations: 0 / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.001918, allocations: 2.406 kB / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.002261, allocations: 61.5 kB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.002338, allocations: 13.95 kB / 0.7305 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.002386, allocations: 5.094 kB / 0.7305 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.002446, allocations: 8.969 kB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.002486, allocations: 7.984 kB / 0.7305 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.002502, allocations: 1.188 kB / 0.7305 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.002802, allocations: 157.6 kB / 0.7306 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.002849, allocations: 9.094 kB / 0.7306 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.002865, allocations: 5.969 kB / 0.7307 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.00304, allocations: 71.2 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.003053, allocations: 0 / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003054, allocations: 3.938 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.003069, allocations: 0 / 0.7307 GB, free: 3.355 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.0003915/0.003461, allocations: 244.5 kB / 0.731 GB, free: 3.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.003504, allocations: 10.28 kB / 0.731 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.003541, allocations: 4.938 kB / 0.731 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.003656, allocations: 117.8 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.003669, allocations: 384 / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.003701, allocations: 5.141 kB / 0.7311 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.003816, allocations: 62.78 kB / 0.7311 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003824, allocations: 1.719 kB / 0.7311 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003833, allocations: 384 / 0.7311 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.003839, allocations: 4.938 kB / 0.7312 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.361e-05/0.003853, allocations: 4.75 kB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.003986, allocations: 74.58 kB / 0.7312 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.004037, allocations: 19.67 kB / 0.7312 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.004052, allocations: 9.797 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.004108, allocations: 7.984 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.004133, allocations: 32.03 kB / 0.7313 GB, free: 2.676 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.004135, allocations: 0 / 0.7313 GB, free: 2.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005565/0.004691, allocations: 261.1 kB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.004721, allocations: 55.41 kB / 0.7316 GB, free: 2.301 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.004792, allocations: 116.3 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004803, allocations: 25.7 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.004829, allocations: 84.98 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.004855, allocations: 11.91 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.004887, allocations: 17.7 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.004978, allocations: 323.5 kB / 0.7322 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.00499, allocations: 9.312 kB / 0.7322 GB, free: 1.691 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.005017, allocations: 17.7 kB / 0.7322 GB, free: 1.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.005055, allocations: 23.38 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005056, allocations: 0.6562 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.04e-05/0.005127, allocations: 51.84 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.00514, allocations: 7.469 kB / 0.7323 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005145, allocations: 0 / 0.7323 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.00516, allocations: 0.875 kB / 0.7323 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.00521, allocations: 11.98 kB / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.005213, allocations: 0 / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.005228, allocations: 0 / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.005238, allocations: 8.688 kB / 0.7323 GB, free: 1.555 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 6.695e-05/0.005305, allocations: 121.3 kB / 0.7324 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.005314, allocations: 4 kB / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.005412, allocations: 50.47 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.005415, allocations: 4.969 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005417, allocations: 2.188 kB / 0.7325 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.00542, allocations: 0 / 0.7325 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.005492, allocations: 69.84 kB / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.005493, allocations: 0 / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.00553, allocations: 4 kB / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.005539, allocations: 7.984 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005542, allocations: 1.5 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005548, allocations: 0 / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.005549, allocations: 1.531 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00555, allocations: 0 / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.005649, allocations: 79.91 kB / 0.7326 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.00566, allocations: 0 / 0.7326 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.005687, allocations: 7.984 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.0057, allocations: 1.25 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.005707, allocations: 4 kB / 0.7326 GB, free: 1.148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.005724, allocations: 12.84 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005725, allocations: 0 / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001745/0.005899, allocations: 26.86 kB / 0.7327 GB, free: 1.109 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.0001708/0.00607, allocations: 100.4 kB / 0.7328 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.006147, allocations: 21.77 kB / 0.7328 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.006154, allocations: 8.531 kB / 0.7328 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.006173, allocations: 13.62 kB / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.69e-05/0.006259, allocations: 14.67 kB / 0.7328 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.006483, allocations: 125.8 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.006518, allocations: 59.34 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.006542, allocations: 1.141 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.006592, allocations: 55.38 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/0.006593, allocations: 0 / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of Templates: time 0.002995/0.009587, allocations: 0.8657 MB / 0.7339 GB, free: 15.83 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.61937212664634]